diff options
| author | Tim Graham <timograham@gmail.com> | 2014-02-19 12:29:47 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-02-19 12:29:47 -0500 |
| commit | 821fc925f0e384966d0b06d03fc1dd0d14cd8ec0 (patch) | |
| tree | a8ade7d09d2a085ed9c776a5668693178ef88c28 | |
| parent | 99416c7ad061f9316089ee490ea721f79141bdf3 (diff) | |
Fixed #22093 -- Made Form.Meta.fields examples consistent.
Thanks david-schultz at gmx.net for the suggestion.
| -rw-r--r-- | docs/topics/auth/customizing.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index b85d08ad56..4c54e8b986 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -1051,7 +1051,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. |
