From 652e913f499954ad9f66958cff45fe6435481313 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 11 Feb 2024 21:41:37 +0100 Subject: [PATCH] Fix user update view Signed-off-by: Emmy D'Anello --- registration/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/registration/views.py b/registration/views.py index 3187fb3..df7fb8b 100644 --- a/registration/views.py +++ b/registration/views.py @@ -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"