| author | ymh <ymh.work@gmail.com> |
| Thu, 19 Mar 2015 23:56:48 +0100 | |
| changeset 561 | 0c094e04f343 |
| parent 560 | fdae9a3ce2bb |
| child 562 | 8faa1a923e97 |
--- a/src/hdalab/views/profile.py Thu Mar 19 23:40:03 2015 +0100 +++ b/src/hdalab/views/profile.py Thu Mar 19 23:56:48 2015 +0100 @@ -44,9 +44,6 @@ from hdalab.services import change_renkan_state from hdalab.views.ajax import filter_generic - -User = get_user_model() - logger = logging.getLogger(__name__) @@ -700,7 +697,7 @@ class UserProfileUpdate(UpdateView): - model = User + model = get_user_model() fields = ['email'] template_name_suffix = '_update_form'