diff --git a/docs/faq/general.txt b/docs/faq/general.txt index 71de888e02c..771af8a2cc1 100644 --- a/docs/faq/general.txt +++ b/docs/faq/general.txt @@ -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://github.com/django/django/tree/master/django/docs +.. _stored in revision control: https://github.com/django/django/tree/master/docs/ Where can I find Django developers for hire? -------------------------------------------- diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 0bba65ced51..6b5773b5a4e 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -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 `. -.. _django/contrib/flatpages/models.py: https://github.com/django/django/tree/master/django/django/contrib/flatpages/models.py +.. _django/contrib/flatpages/models.py: https://github.com/django/django/blob/master/django/contrib/flatpages/models.py .. currentmodule:: django.contrib.flatpages diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index eb364dea79a..9c6eb033eba 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -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://github.com/django/django/tree/master/django/django/contrib/gis/tests/distapp/models.py +__ https://github.com/django/django/blob/master/django/contrib/gis/tests/distapp/models.py .. _compatibility-table: diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt index 7bd7fc8673f..7501fb3ec84 100644 --- a/docs/ref/contrib/gis/geoquerysets.txt +++ b/docs/ref/contrib/gis/geoquerysets.txt @@ -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://github.com/django/django/tree/master/django/django/contrib/gis/tests/distapp/models.py +__ https://github.com/django/django/blob/master/django/contrib/gis/tests/distapp/models.py __ http://en.wikipedia.org/wiki/Tasmania ``length`` diff --git a/docs/ref/contrib/redirects.txt b/docs/ref/contrib/redirects.txt index f52787352f7..e34ba405f43 100644 --- a/docs/ref/contrib/redirects.txt +++ b/docs/ref/contrib/redirects.txt @@ -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 `. -.. _django/contrib/redirects/models.py: https://github.com/django/django/tree/master/django/django/contrib/redirects/models.py +.. _django/contrib/redirects/models.py: https://github.com/django/django/blob/master/django/contrib/redirects/models.py diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index 5b2b0db2a4f..6f89ee187c8 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -897,7 +897,7 @@ For example, to create an Atom 1.0 feed and print it to standard output:: ... -.. _django/utils/feedgenerator.py: https://github.com/django/django/tree/master/django/django/utils/feedgenerator.py +.. _django/utils/feedgenerator.py: https://github.com/django/django/blob/master/django/utils/feedgenerator.py .. currentmodule:: django.contrib.syndication diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 3ddb390428f..0ea8252c714 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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://github.com/django/django/tree/master/django/django/conf/app_template/ +.. _source: https://github.com/django/django/tree/master/django/conf/app_template/ startproject [destination] ---------------------------------------- @@ -980,7 +980,7 @@ with the ``--name`` option. The :class:`template context Please also see the :ref:`rendering warning ` as mentioned for :djadmin:`startapp`. -.. _`template source`: https://github.com/django/django/tree/master/django/django/conf/project_template/ +.. _`template source`: https://github.com/django/django/tree/master/django/conf/project_template/ syncdb ------ diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 0513aa846c4..398c90661b4 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -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://github.com/django/django/tree/master/django/django/views/debug.py +.. _django/views/debug.py: https://github.com/django/django/blob/master/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://github.com/django/django/tree/master/django/django/conf/global_settings.py +.. _online source: https://github.com/django/django/blob/master/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 diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index 3881f4fceed..b4870860ed5 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -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://github.com/django/django/tree/master/django/django/contrib/auth/backends.py +.. _django/contrib/auth/backends.py: https://github.com/django/django/blob/master/django/contrib/auth/backends.py .. _anonymous_auth: diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index e9ad376bf08..b4d4eb1062c 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -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://github.com/django/django/tree/master/django/tests/modeltests/or_lookups/tests.py + .. _OR lookups examples: https://github.com/django/django/blob/master/tests/modeltests/or_lookups/tests.py Comparing objects =================