diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index da99166079..e27f257f80 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -1060,6 +1060,8 @@ code would be required in the app's ``admin.py`` file:: ('Personal info', {'fields': ('date_of_birth',)}), ('Permissions', {'fields': ('is_admin',)}), ) + # add_fieldsets is not a standard ModelAdmin attribute. UserAdmin + # overrides get_fieldsets to use this attribute when creating a user. add_fieldsets = ( (None, { 'classes': ('wide',),