Permalink
Browse files

[1.6.x] Fixed #22093 -- Made Form.Meta.fields examples consistent.

Thanks david-schultz at gmx.net for the suggestion.

Backport of 821fc92 from master
  • Loading branch information...
timgraham committed Feb 19, 2014
1 parent a088ce9 commit e56ce87bd8cb85a14d34e7bdfac4b55fac95faea
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/auth/customizing.txt
@@ -1078,7 +1078,7 @@ code would be required in the app's ``admin.py`` file::
class Meta:
model = MyUser
- fields = ['email', 'password', 'date_of_birth', 'is_active', 'is_admin']
+ fields = ('email', 'password', 'date_of_birth', 'is_active', 'is_admin')
def clean_password(self):
# Regardless of what the user provides, return the initial value.

0 comments on commit e56ce87

Please sign in to comment.