diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-11 16:05:25 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-11 16:05:25 +0000 |
| commit | 8dac184adc40b716f59c77abb079679d085cb75a (patch) | |
| tree | f27e29c164aa8fe651de96a8d1b4c50bcd7ac03f /docs | |
| parent | aed151d3d86aca55370c659fc2888f34698a4fde (diff) | |
Fixed ReST bugs in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/model-api.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt index 58ec2a4db9..a890d93923 100644 --- a/docs/model-api.txt +++ b/docs/model-api.txt @@ -235,15 +235,15 @@ Field Types A true/false field. ``CharField`` - A text field. These are displayed in the admin as single-line text inputs, so - for large amounts of text, use a ``TextField``. + A text field. These are displayed in the admin as single-line text inputs. + For large amounts of text, use ``TextField``. - ``CharField``s have an extra required argument: ``maxlength``, the maximum + ``CharField`` has an extra required argument: ``maxlength``, the maximum length (in characters) of the field. The maxlength is enforced at the database level and in Django's admin validation. ``CommaSeparatedIntegerField`` - A field of integers separated by commas. As in ``CharField``s, the + A field of integers separated by commas. As in ``CharField``, the ``maxlength`` argument is required. ``DateField`` |
