diff options
| author | Tim Graham <timograham@gmail.com> | 2013-07-18 12:41:01 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-18 12:41:56 -0400 |
| commit | cbfe56c856f9bb79fdd36d7e573c6156bb88720a (patch) | |
| tree | e7fee2f4e8169c9d0e10a0512164eb4c67999a7e /docs/topics/auth | |
| parent | 5d16e923b65dccf897e384f01fbd3a50a4325deb (diff) | |
[1.5.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
Backport of dce8945ea6 from master
Diffstat (limited to 'docs/topics/auth')
| -rw-r--r-- | docs/topics/auth/customizing.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 824d233944..61cbb1196a 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -1071,6 +1071,8 @@ code would be required in the app's ``admin.py`` file:: ('Permissions', {'fields': ('is_admin',)}), ('Important dates', {'fields': ('last_login',)}), ) + # 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',), |
