Ticket #20762: 20762.diff
File 20762.diff, 587 bytes (added by , 11 years ago) |
---|
-
docs/topics/auth/customizing.txt
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 18c3012..b57f6e0 100644
a b code would be required in the app's ``admin.py`` file:: 1094 1094 ('Personal info', {'fields': ('date_of_birth',)}), 1095 1095 ('Permissions', {'fields': ('is_admin',)}), 1096 1096 ) 1097 # UserAdmin overrides get_fieldsets to use this attribute when creating 1098 # a user. 1097 1099 add_fieldsets = ( 1098 1100 (None, { 1099 1101 'classes': ('wide',),