mirror of
https://github.com/django/django.git
synced 2025-06-05 19:49:13 +00:00
Changed some more links to be relative in the documentation. I had a couple unsaved files that didn't get in with [5798].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
eba5703fee
commit
973f44aa4c
@ -1834,7 +1834,7 @@ Note that in the case of identical date values, these methods will use the ID
|
|||||||
as a fallback check. This guarantees that no records are skipped or duplicated.
|
as a fallback check. This guarantees that no records are skipped or duplicated.
|
||||||
For a full example, see the `lookup API sample model`_.
|
For a full example, see the `lookup API sample model`_.
|
||||||
|
|
||||||
.. _lookup API sample model: http://www.djangoproject.com/documentation/models/lookup/
|
.. _lookup API sample model: ../models/lookup/
|
||||||
|
|
||||||
get_FOO_filename()
|
get_FOO_filename()
|
||||||
------------------
|
------------------
|
||||||
|
@ -22,7 +22,7 @@ A companion to this document is the `official repository of model examples`_.
|
|||||||
``tests/modeltests`` directory.)
|
``tests/modeltests`` directory.)
|
||||||
|
|
||||||
.. _Database API reference: ../db-api/
|
.. _Database API reference: ../db-api/
|
||||||
.. _official repository of model examples: http://www.djangoproject.com/documentation/models/
|
.. _official repository of model examples: ../models/
|
||||||
|
|
||||||
Quick example
|
Quick example
|
||||||
=============
|
=============
|
||||||
@ -775,7 +775,7 @@ You can, of course, call the field whatever you want. For example::
|
|||||||
|
|
||||||
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: ../models/many_to_one/
|
||||||
|
|
||||||
``ForeignKey`` fields take a number of extra arguments for defining how the
|
``ForeignKey`` fields take a number of extra arguments for defining how the
|
||||||
relationship should work. All are optional:
|
relationship should work. All are optional:
|
||||||
@ -902,7 +902,7 @@ set up above, the ``Pizza`` admin form would let 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: ../models/many_to_many/
|
||||||
|
|
||||||
``ManyToManyField`` objects take a number of extra arguments for defining how
|
``ManyToManyField`` objects take a number of extra arguments for defining how
|
||||||
the relationship should work. All are optional:
|
the relationship should work. All are optional:
|
||||||
@ -979,7 +979,7 @@ as a read-only field when you edit an object in the admin interface:
|
|||||||
|
|
||||||
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: ../models/one_to_one/
|
||||||
|
|
||||||
Custom field types
|
Custom field types
|
||||||
------------------
|
------------------
|
||||||
@ -1186,7 +1186,7 @@ See `Specifying ordering`_ for more examples.
|
|||||||
Note that, regardless of how many fields are in ``ordering``, the admin
|
Note that, regardless of how many fields are in ``ordering``, the admin
|
||||||
site uses only the first field.
|
site uses only the first field.
|
||||||
|
|
||||||
.. _Specifying ordering: http://www.djangoproject.com/documentation/models/ordering/
|
.. _Specifying ordering: ../models/ordering/
|
||||||
|
|
||||||
``permissions``
|
``permissions``
|
||||||
---------------
|
---------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user