Code

Ticket #2071: model-api.txt.diff

File model-api.txt.diff, 674 bytes (added by asmodai@…, 8 years ago)

Describe how PasswordField works

Line 
1Index: docs/model-api.txt
2===================================================================
3--- docs/model-api.txt  (revision 3129)
4+++ docs/model-api.txt  (working copy)
5@@ -322,6 +322,14 @@
6 
7 The admin represents this as a ``<select>`` box with "Unknown", "Yes" and "No" choices.
8 
9+``PasswordField``
10+~~~~~~~~~~~~~~~~~ 
11+
12+A ``PasswordField`` is like a ``TextField`` but the difference is that the
13+characters that are entered are masked, typically by asterisks (*). Also note
14+that even though this is a password field the data is sent as clear text to
15+the server. Additional measures are needed to ensure data safety.
16+
17 ``PhoneNumberField``
18 ~~~~~~~~~~~~~~~~~~~~
19