Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standar…

…d ModelAdmin attribute.

Backport of dce8945 from master
  • Loading branch information...
commit 579ca9ee8d3c47ba46385db6beb2318cea97b123 1 parent fcd5f3a
@timgraham timgraham authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  docs/topics/auth/customizing.txt
View
2  docs/topics/auth/customizing.txt
@@ -1094,6 +1094,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',),
Please sign in to comment.
Something went wrong with that request. Please try again.