Django

Code

Changeset 481

Show
Ignore:
Timestamp:
08/11/05 11:05:25 (3 years ago)
Author:
adrian
Message:

Fixed ReST bugs in docs/model-api.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r456 r481  
    236236 
    237237``CharField`` 
    238     A text field. These are displayed in the admin as single-line text inputs, so 
    239     for large amounts of text, use a ``TextField``. 
    240  
    241     ``CharField``s have an extra required argument: ``maxlength``, the maximum 
     238    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 
    242242    length (in characters) of the field. The maxlength is enforced at the database 
    243243    level and in Django's admin validation. 
    244244 
    245245``CommaSeparatedIntegerField`` 
    246     A field of integers separated by commas. As in ``CharField``s, the 
     246    A field of integers separated by commas. As in ``CharField``, the 
    247247    ``maxlength`` argument is required. 
    248248