1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed ReST bugs in docs/model-api.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-11 16:05:25 +00:00
parent aed151d3d8
commit 8dac184adc

View File

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