Fix user update view

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-02-11 21:41:37 +01:00
parent 089374b937
commit 652e913f49
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ class UserUpdateView(UserMixin, UpdateView):
Update the detail about a user and its registration.
"""
model = User
context_object_name = "user_object"
form_class = UserForm
template_name = "registration/update_user.html"