Changeset 481
- Timestamp:
- 08/11/05 11:05:25 (3 years ago)
- Files:
-
- django/trunk/docs/model-api.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/model-api.txt
r456 r481 236 236 237 237 ``CharField`` 238 A text field. These are displayed in the admin as single-line text inputs , so239 for large amounts of text, use a``TextField``.240 241 ``CharField`` s havean extra required argument: ``maxlength``, the maximum238 A text field. These are displayed in the admin as single-line text inputs. 239 For large amounts of text, use ``TextField``. 240 241 ``CharField`` has an extra required argument: ``maxlength``, the maximum 242 242 length (in characters) of the field. The maxlength is enforced at the database 243 243 level and in Django's admin validation. 244 244 245 245 ``CommaSeparatedIntegerField`` 246 A field of integers separated by commas. As in ``CharField`` s, the246 A field of integers separated by commas. As in ``CharField``, the 247 247 ``maxlength`` argument is required. 248 248
