From 579ca9ee8d3c47ba46385db6beb2318cea97b123 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 18 Jul 2013 12:41:01 -0400 Subject: [PATCH] [1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute. Backport of dce8945ea6 from master --- docs/topics/auth/customizing.txt | 2 ++ 1 file changed, 2 insertions(+) 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',),