From a2e1b77bd68e82876d49881fe951fb8f00d041f9 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 6 Jun 2012 14:28:37 +0200 Subject: [PATCH] #213 fixed (User settings form - remove User groups and active fields). --- openslides/participant/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openslides/participant/forms.py b/openslides/participant/forms.py index 35cac9233..15f7a0673 100644 --- a/openslides/participant/forms.py +++ b/openslides/participant/forms.py @@ -74,12 +74,11 @@ class GroupForm(ModelForm, CssClassMixin): exclude = ('permissions',) -class UsersettingsForm(UserEditForm, CssClassMixin): +class UsersettingsForm(ModelForm, CssClassMixin): class Meta: model = User fields = ('username', 'first_name', 'last_name', 'email') - class UserImportForm(Form, CssClassMixin): csvfile = FileField(widget=FileInput(attrs={'size':'50'}), label=_("CSV File")) application_handling = ChoiceField(required=True, choices=USER_APPLICATION_IMPORT_OPTIONS, label=_("For existing applications"))