Clarified meaning of "Optional" in auth.models.User field docs.

This commit is contained in:
Jirka Schäfer 2017-04-02 03:24:42 +02:00 committed by Tim Graham
parent 0ad7e8f71f
commit 73c30b79c0
1 changed files with 6 additions and 3 deletions

View File

@ -43,11 +43,13 @@ Fields
.. attribute:: first_name
Optional. 30 characters or fewer.
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 30
characters or fewer.
.. attribute:: last_name
Optional. 150 characters or fewer.
Optional (:attr:`blank=True <django.db.models.Field.blank>`). 150
characters or fewer.
.. versionchanged:: 2.0
@ -55,7 +57,8 @@ Fields
.. attribute:: email
Optional. Email address.
Optional (:attr:`blank=True <django.db.models.Field.blank>`). Email
address.
.. attribute:: password