Django

Code

Changeset 5213

Show
Ignore:
Timestamp:
05/12/07 12:11:19 (2 years ago)
Author:
adrian
Message:

Fixed some ReST errors in docs/newforms.txt from [5212]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/newforms.txt

    r5212 r5213  
    943943    ``URLField``                     ``URLField`` with ``verify_exists`` set 
    944944                                     to the model field's ``verify_exists`` 
    945     ``USStateField``                 ``CharField with ``widget=USStateSelect`` 
     945    ``USStateField``                 ``CharField`` with 
     946                                     ``widget=USStateSelect`` 
    946947                                     (``USStateSelect`` is from 
    947948                                     ``django.contrib.localflavor.us``) 
     
    10951096want that to be represented as a ``DateField`` in your form. But 
    10961097``form_for_model()`` gives you the flexibility of changing the form field type 
    1097 for a given model field. You do this by specifying a *formfield callback*. 
     1098for a given model field. You do this by specifying a **formfield callback**. 
    10981099 
    10991100A formfield callback is a function that, when provided with a model field,