1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

Fixed the inevitable ReST bugs in [560]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-26 18:35:44 +00:00
parent b8e1be6f46
commit 9138dc7008

View File

@ -396,7 +396,7 @@ be the name of the model, singular. Behind the scenes, Django appends "_id" to
the field name to create its database column name. But your code should never the field name to create its database column name. But your code should never
have to deal with the database column name, unless you write custom SQL. have to deal with the database column name, unless you write custom SQL.
See the ``Many-to-one relationship model example_ for a full example. See the `Many-to-one relationship model example`_ for a full example.
.. _Many-to-one relationship model example: http://www.djangoproject.com/documentation/models/many_to_one/ .. _Many-to-one relationship model example: http://www.djangoproject.com/documentation/models/many_to_one/
@ -537,7 +537,7 @@ more natural to think about a ``Pizza`` having toppings than a topping being on
multiple pizzas. The way it's set up above, the ``Pizza`` admin form would let multiple pizzas. The way it's set up above, the ``Pizza`` admin form would let
users select the toppings. users select the toppings.
See the ``Many-to-many relationship model example_ for a full example. See the `Many-to-many relationship model example`_ for a full example.
.. _Many-to-many relationship model example: http://www.djangoproject.com/documentation/models/many_to_many/ .. _Many-to-many relationship model example: http://www.djangoproject.com/documentation/models/many_to_many/
@ -592,7 +592,7 @@ differences in the admin interface:
``Restaurant`` to a ``Place`` just means filling out the required ``Restaurant`` to a ``Place`` just means filling out the required
``Restaurant`` fields. ``Restaurant`` fields.
See the ``One-to-one relationship model example_ for a full example. See the `One-to-one relationship model example`_ for a full example.
.. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/ .. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/
@ -892,7 +892,7 @@ A few object methods have special meaning:
example, you can use it to calculate aggregate values from other fields example, you can use it to calculate aggregate values from other fields
before the object is saved. before the object is saved.
See ``Adding hooks before/after saving and deleting_ for a full example. See `Adding hooks before/after saving and deleting`_ for a full example.
.. _Adding hooks before/after saving and deleting: http://www.djangoproject.com/documentation/models/save_delete_hooks/ .. _Adding hooks before/after saving and deleting: http://www.djangoproject.com/documentation/models/save_delete_hooks/