* Working configuration file example

* A username can now be modified

see #204
This commit is contained in:
Antoine Nguyen
2012-04-26 18:06:35 +02:00
parent 4f0cd1215b
commit 89114111fb
3 changed files with 2 additions and 2 deletions
+1
View File
@@ -296,6 +296,7 @@ class AccountFormGeneral(forms.ModelForm):
def save(self, commit=True):
account = super(AccountFormGeneral, self).save(commit=False)
account.username = self.cleaned_data["username"]
if commit:
account.save()
role = None