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:01 -0400 |
| commit | dce8945ea63c636a71f3bc5d610dccebc08c52eb (patch) | |
| tree | fb6371e9ea0984e616fa366ee7c15ac1778444b4 /docs/topics | |
| parent | d7ba2bf3cfdf706d9628d86f3c10e5a430f37593 (diff) | |
Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
Diffstat (limited to 'docs/topics')
| -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 da99166079..e27f257f80 100644 --- a/docs/topics/auth/customizing.txt +++ b/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',), |
