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:51 -0400 |
| commit | 579ca9ee8d3c47ba46385db6beb2318cea97b123 (patch) | |
| tree | 85e9616f71c77de4f3f34613e8b9e08c30bb70c3 /docs | |
| parent | fcd5f3a8d906e118f818b9f1409cbbccda57ae8e (diff) | |
[1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
Backport of dce8945ea6 from master
Diffstat (limited to 'docs')
| -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 18c30122fc..26e9a96147 100644 --- a/docs/topics/auth/customizing.txt +++ b/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',), |
