Fix user update view
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
089374b937
commit
652e913f49
|
@ -263,6 +263,7 @@ class UserUpdateView(UserMixin, UpdateView):
|
||||||
Update the detail about a user and its registration.
|
Update the detail about a user and its registration.
|
||||||
"""
|
"""
|
||||||
model = User
|
model = User
|
||||||
|
context_object_name = "user_object"
|
||||||
form_class = UserForm
|
form_class = UserForm
|
||||||
template_name = "registration/update_user.html"
|
template_name = "registration/update_user.html"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue