Skip to content

Commit

Permalink
Remove unused user update form
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Nov 15, 2024
1 parent 9698a17 commit 026ea1d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
2 changes: 0 additions & 2 deletions apps/accounts/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
UserActivationView,
UserRegistrationView,
DashboardView,
UserUpdateView,
ProviderPortalHomeView,
ProviderRequestDetailView,
ProviderRequestWizardView,
Expand Down Expand Up @@ -104,7 +103,6 @@
# include admin URLs
path("admin/", admin.urls),
# custom views
path("user/<pk>/", UserUpdateView.as_view(), name="user_edit"),
path(
"provider-portal/",
ProviderPortalHomeView.as_view(),
Expand Down
14 changes: 0 additions & 14 deletions apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,20 +163,6 @@ def get(self, *args, **kwargs):
return HttpResponseRedirect(force_str(self.get_success_url()))


class UserUpdateView(UpdateView):
"""
A view for allowing users to edit basic details, and control
notification settings
"""

model = User
form_class = UserUpdateForm

def get(self, request, *args, **kwargs):
"""Handle GET requests: instantiate a blank version of the form."""
return super().get(request, args, kwargs)


class ProviderPortalHomeView(LoginRequiredMixin, ListView):
"""
Home page of the Provider Portal:
Expand Down
30 changes: 0 additions & 30 deletions apps/theme/templates/accounts/user_form.html

This file was deleted.

0 comments on commit 026ea1d

Please sign in to comment.