language choice

This commit is contained in:
alafin 2009-03-03 18:30:41 +02:00
parent c449fb65b8
commit 957c8ea119
7 changed files with 72 additions and 18 deletions

View file

@ -103,7 +103,7 @@ class EssentialsProfileForm(forms.ModelForm):
profile.time_zone = self.cleaned_data['time_zone']
profile.language = self.cleaned_data['language']
user.save()
return profile.save()
return profile
class PersonalProfileForm(forms.ModelForm):
@ -181,7 +181,6 @@ class PrivacyProfileForm(forms.ModelForm):
# )
#
# def save(self):
# print self.forums
# return self.forums
class UploadAvatarForm(forms.ModelForm):