Updated some URLs in the documentation to point to the new repository.
This commit is contained in:
parent
e84f79f051
commit
1adc87cd32
|
@ -175,7 +175,7 @@ Technically, the docs on Django's site are generated from the latest development
|
|||
versions of those reST documents, so the docs on the Django site may offer more
|
||||
information than the docs that come with the latest Django release.
|
||||
|
||||
.. _stored in revision control: https://code.djangoproject.com/browser/django/trunk/docs
|
||||
.. _stored in revision control: https://github.com/django/django/tree/master/django/docs
|
||||
|
||||
Where can I find Django developers for hire?
|
||||
--------------------------------------------
|
||||
|
|
|
@ -147,7 +147,7 @@ Via the Python API
|
|||
which lives in `django/contrib/flatpages/models.py`_. You can access
|
||||
flatpage objects via the :doc:`Django database API </topics/db/queries>`.
|
||||
|
||||
.. _django/contrib/flatpages/models.py: https://code.djangoproject.com/browser/django/trunk/django/contrib/flatpages/models.py
|
||||
.. _django/contrib/flatpages/models.py: https://github.com/django/django/tree/master/django/django/contrib/flatpages/models.py
|
||||
|
||||
.. currentmodule:: django.contrib.flatpages
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ Then distance queries may be performed as follows::
|
|||
>>> qs = SouthTexasCity.objects.filter(point__distance_gte=(pnt, D(mi=20)))
|
||||
>>> qs = SouthTexasCity.objects.filter(point__distance_gte=(pnt, D(chain=100)))
|
||||
|
||||
__ https://code.djangoproject.com/browser/django/trunk/django/contrib/gis/tests/distapp/models.py
|
||||
__ https://github.com/django/django/tree/master/django/django/contrib/gis/tests/distapp/models.py
|
||||
|
||||
.. _compatibility-table:
|
||||
|
||||
|
|
|
@ -736,7 +736,7 @@ the distance from the `Tasmanian`__ city of Hobart to every other
|
|||
in kilometers. See the :ref:`ref-measure` for usage details and the list of
|
||||
:ref:`supported_units`.
|
||||
|
||||
__ https://code.djangoproject.com/browser/django/trunk/django/contrib/gis/tests/distapp/models.py
|
||||
__ https://github.com/django/django/tree/master/django/django/contrib/gis/tests/distapp/models.py
|
||||
__ http://en.wikipedia.org/wiki/Tasmania
|
||||
|
||||
``length``
|
||||
|
|
|
@ -67,4 +67,4 @@ Via the Python API
|
|||
which lives in `django/contrib/redirects/models.py`_. You can access redirect
|
||||
objects via the :doc:`Django database API </topics/db/queries>`.
|
||||
|
||||
.. _django/contrib/redirects/models.py: https://code.djangoproject.com/browser/django/trunk/django/contrib/redirects/models.py
|
||||
.. _django/contrib/redirects/models.py: https://github.com/django/django/tree/master/django/django/contrib/redirects/models.py
|
||||
|
|
|
@ -897,7 +897,7 @@ For example, to create an Atom 1.0 feed and print it to standard output::
|
|||
...
|
||||
</feed>
|
||||
|
||||
.. _django/utils/feedgenerator.py: https://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py
|
||||
.. _django/utils/feedgenerator.py: https://github.com/django/django/tree/master/django/django/utils/feedgenerator.py
|
||||
|
||||
.. currentmodule:: django.contrib.syndication
|
||||
|
||||
|
|
|
@ -926,7 +926,7 @@ with the ``--name`` option. The :class:`template context
|
|||
To work around this problem, you can use the :ttag:`templatetag`
|
||||
templatetag to "escape" the various parts of the template syntax.
|
||||
|
||||
.. _source: https://code.djangoproject.com/browser/django/trunk/django/conf/app_template/
|
||||
.. _source: https://github.com/django/django/tree/master/django/django/conf/app_template/
|
||||
|
||||
startproject <projectname> [destination]
|
||||
----------------------------------------
|
||||
|
@ -980,7 +980,7 @@ with the ``--name`` option. The :class:`template context
|
|||
Please also see the :ref:`rendering warning <render_warning>` as mentioned
|
||||
for :djadmin:`startapp`.
|
||||
|
||||
.. _`template source`: https://code.djangoproject.com/browser/django/trunk/django/conf/project_template/
|
||||
.. _`template source`: https://github.com/django/django/tree/master/django/django/conf/project_template/
|
||||
|
||||
syncdb
|
||||
------
|
||||
|
|
|
@ -806,7 +806,7 @@ It is also important to remember that when running with :setting:`DEBUG`
|
|||
turned on, Django will remember every SQL query it executes. This is useful
|
||||
when you're debugging, but it'll rapidly consume memory on a production server.
|
||||
|
||||
.. _django/views/debug.py: https://code.djangoproject.com/browser/django/trunk/django/views/debug.py
|
||||
.. _django/views/debug.py: https://github.com/django/django/tree/master/django/django/views/debug.py
|
||||
|
||||
DEBUG_PROPAGATE_EXCEPTIONS
|
||||
--------------------------
|
||||
|
@ -1237,7 +1237,7 @@ and including a copy here would inevitably become rapidly out of date. You can
|
|||
see the current list of translated languages by looking in
|
||||
``django/conf/global_settings.py`` (or view the `online source`_).
|
||||
|
||||
.. _online source: https://code.djangoproject.com/browser/django/trunk/django/conf/global_settings.py
|
||||
.. _online source: https://github.com/django/django/tree/master/django/django/conf/global_settings.py
|
||||
|
||||
The list is a tuple of two-tuples in the format ``(language code, language
|
||||
name)``, the ``language code`` part should be a
|
||||
|
|
|
@ -1892,7 +1892,7 @@ A full authorization implementation can be found in
|
|||
`django/contrib/auth/backends.py`_, which is the default backend and queries
|
||||
the ``auth_permission`` table most of the time.
|
||||
|
||||
.. _django/contrib/auth/backends.py: https://code.djangoproject.com/browser/django/trunk/django/contrib/auth/backends.py
|
||||
.. _django/contrib/auth/backends.py: https://github.com/django/django/tree/master/django/django/contrib/auth/backends.py
|
||||
|
||||
.. _anonymous_auth:
|
||||
|
||||
|
|
|
@ -815,7 +815,7 @@ precede the definition of any keyword arguments. For example::
|
|||
The `OR lookups examples`_ in the Django unit tests show some possible uses
|
||||
of ``Q``.
|
||||
|
||||
.. _OR lookups examples: https://code.djangoproject.com/browser/django/trunk/tests/modeltests/or_lookups/tests.py
|
||||
.. _OR lookups examples: https://github.com/django/django/tree/master/django/tests/modeltests/or_lookups/tests.py
|
||||
|
||||
Comparing objects
|
||||
=================
|
||||
|
|
Loading…
Reference in New Issue