fix missing/wrong widget inputs
This commit is contained in:
parent
31846f1d05
commit
5daa8d5fe3
|
@ -27,7 +27,8 @@ class PasswordFactorForm(forms.ModelForm):
|
|||
'order': forms.NumberInput(),
|
||||
'policies': FilteredSelectMultiple(_('policies'), False),
|
||||
'backends': FilteredSelectMultiple(_('backends'), False,
|
||||
choices=get_authentication_backends())
|
||||
choices=get_authentication_backends()),
|
||||
'password_policies': FilteredSelectMultiple(_('password policies'), False),
|
||||
}
|
||||
|
||||
class DummyFactorForm(forms.ModelForm):
|
||||
|
|
|
@ -63,6 +63,7 @@ class GroupMembershipPolicyForm(forms.ModelForm):
|
|||
fields = GENERAL_FIELDS + ['group', ]
|
||||
widgets = {
|
||||
'name': forms.TextInput(),
|
||||
'order': forms.NumberInput(),
|
||||
}
|
||||
|
||||
class PasswordPolicyForm(forms.ModelForm):
|
||||
|
|
Reference in New Issue