1👍
That’s the correct form for adding a user. As the help text on top of the form states, the username and password are set first, then you will see the rest of the fields. If you edit an existing user you will also see everything.
1👍
in your AppUserAdmin add
add_fieldsets = (
(None, {
'classes': ('wide',),
'fields': ('username', 'first_name', 'last_name', 'gender', .........
'password1', 'password2')}
),
)
Of course add all of your required fields in the dots place. add_fieldsets is responsible for visible fields on django admin user creation site
- [Django]-OAuth authentication fails for google data APIs for hosted domains using gdata
- [Django]-How can I convert from Datetime to Milliseconds in Django?
- [Django]-Test not passing in Django when it should
Source:stackexchange.com