diff options
Diffstat (limited to 'forum/forms.py')
-rw-r--r-- | forum/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/forum/forms.py b/forum/forms.py index ad2c5bac..376f5ddf 100644 --- a/forum/forms.py +++ b/forum/forms.py @@ -205,6 +205,7 @@ class EditUserForm(forms.Form): def __init__(self, user, *args, **kwargs): super(EditUserForm, self).__init__(*args, **kwargs) self.fields['username'].initial = user.username + self.fields['username'].user_instance = user self.fields['email'].initial = user.email self.fields['realname'].initial = user.real_name self.fields['website'].initial = user.website |