Django

Code

Changeset 3189

Show
Ignore:
Timestamp:
06/21/06 09:42:52 (2 years ago)
Author:
adrian
Message:

Reverted [3184]. There's no such thing as models.PasswordField?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r3184 r3189  
    322322 
    323323The admin represents this as a ``<select>`` box with "Unknown", "Yes" and "No" choices. 
    324  
    325 ``PasswordField`` 
    326 ~~~~~~~~~~~~~~~~~   
    327  
    328 A ``PasswordField`` is like a ``TextField`` but the characters that are 
    329 entered are masked, typically by asterisks (*), when entered into a form. Note 
    330 that though the data is masked on entry, it is sent as clear text to the 
    331 server and stored as plain text in the database. Additional measures (such as 
    332 using HTTPS) are needed to ensure the security of data sent from a form. This 
    333 field is probably more useful when used in a `custom manipulator`_ than 
    334 directly in a model. 
    335  
    336 .. _custom manipulator: http://www.djangoproject.com/documentation/forms/#custom-forms-and-manipulators 
    337324 
    338325``PhoneNumberField``