Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1130f5e6b79588944ee3f72ff9fd698c7b97c9db 1 parent 6500f3f
Adrian Holovaty authored May 12, 2007

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  docs/newforms.txt
5  docs/newforms.txt
@@ -942,7 +942,8 @@ the full list of conversions:
942 942
     ``TimeField``                    ``TimeField``
943 943
     ``URLField``                     ``URLField`` with ``verify_exists`` set
944 944
                                      to the model field's ``verify_exists``
945  
-    ``USStateField``                 ``CharField with ``widget=USStateSelect``
  945
+    ``USStateField``                 ``CharField`` with
  946
+                                     ``widget=USStateSelect``
946 947
                                      (``USStateSelect`` is from
947 948
                                      ``django.contrib.localflavor.us``)
948 949
     ``XMLField``                     ``CharField`` with ``widget=Textarea``
@@ -1094,7 +1095,7 @@ The default field types, as described in the "Field types" table above, are
1094 1095
 sensible defaults; if you have a ``DateField`` in your model, chances are you'd
1095 1096
 want that to be represented as a ``DateField`` in your form. But
1096 1097
 ``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*.
  1098
+for a given model field. You do this by specifying a **formfield callback**.
1098 1099
 
1099 1100
 A formfield callback is a function that, when provided with a model field,
1100 1101
 returns a form field instance. When constructing a form, ``form_for_model()``

0 notes on commit 1130f5e

Please sign in to comment.
Something went wrong with that request. Please try again.