[Django]-Django custom user creation not showing custom fields in admin site

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

Leave a comment