| | 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 |
|---|