Fixed #2071: added a smidge of docs on PasswordField. Thanks for the patch, asmodai.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2007-02-25 17:18:17 +00:00
parent cef2239086
commit 81bb3d9e74
1 changed files with 8 additions and 0 deletions

View File

@ -338,6 +338,14 @@ instead of a ``BooleanField`` with ``null=True``.
The admin represents this as a ``<select>`` box with "Unknown", "Yes" and "No" choices.
``PasswordField``
~~~~~~~~~~~~~~~~~
A ``PasswordField`` is like a ``TextField`` but the difference is that the
characters that are entered are masked, typically by asterisks (*). Also note
that even though this is a password field the data is sent as clear text to
the server. Additional measures are needed to ensure data safety.
``PhoneNumberField``
~~~~~~~~~~~~~~~~~~~~