#213 fixed (User settings form - remove User groups and active
fields).
This commit is contained in:
parent
07a682c436
commit
a2e1b77bd6
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue