Permalink
Browse files

Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelA…

…dmin attribute.
  • Loading branch information...
1 parent d7ba2bf commit dce8945ea63c636a71f3bc5d610dccebc08c52eb @timgraham timgraham committed Jul 18, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 docs/topics/auth/customizing.txt
View
2 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',),

0 comments on commit dce8945

Please sign in to comment.