Fixed #2769 -- Applied some ReST formatting fixes. Thanks, ramiro.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2006-09-21 13:30:01 +00:00
parent d296e5e565
commit e947fb2111
3 changed files with 5 additions and 4 deletions

View File

@ -122,6 +122,7 @@ answer newbie questions, and generally made Django that much better:
Daniel Poelzleithner <http://poelzi.org/> Daniel Poelzleithner <http://poelzi.org/>
J. Rademaker J. Rademaker
Michael Radziej <mir@noris.de> Michael Radziej <mir@noris.de>
ramiro
Brian Ray <http://brianray.chipy.org/> Brian Ray <http://brianray.chipy.org/>
rhettg@gmail.com rhettg@gmail.com
Oliver Rutherfurd <http://rutherfurd.net/> Oliver Rutherfurd <http://rutherfurd.net/>

View File

@ -1511,7 +1511,7 @@ Many-to-many relationships
-------------------------- --------------------------
Both ends of a many-to-many relationship get automatic API access to the other Both ends of a many-to-many relationship get automatic API access to the other
end. The API works just as a "backward" one-to-many relationship. See _Backward end. The API works just as a "backward" one-to-many relationship. See Backward_
above. above.
The only difference is in the attribute naming: The model that defines the The only difference is in the attribute naming: The model that defines the

View File

@ -136,7 +136,7 @@ template::
{% endblock %} {% endblock %}
Before we get back to the problems with these naive set of views, let's go over Before we get back to the problems with these naive set of views, let's go over
some salient points of the above template:: some salient points of the above template:
* Field "widgets" are handled for you: ``{{ form.field }}`` automatically * Field "widgets" are handled for you: ``{{ form.field }}`` automatically
creates the "right" type of widget for the form, as you can see with the creates the "right" type of widget for the form, as you can see with the
@ -148,8 +148,8 @@ some salient points of the above template::
If you must use tables, use tables. If you're a semantic purist, you can If you must use tables, use tables. If you're a semantic purist, you can
probably find better HTML than in the above template. probably find better HTML than in the above template.
* To avoid name conflicts, the ``id``s of form elements take the form * To avoid name conflicts, the ``id`` values of form elements take the
"id_*fieldname*". form "id_*fieldname*".
By creating a creation form we've solved problem number 3 above, but we still By creating a creation form we've solved problem number 3 above, but we still
don't have any validation. Let's revise the validation issue by writing a new don't have any validation. Let's revise the validation issue by writing a new