From e9a56606e738c478373d052bbd876ff84afdb995 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Thu, 3 May 2012 12:42:56 -0300 Subject: [PATCH] Fixed broken URLs introduced in 1adc87cd32. --- docs/faq/general.txt | 2 +- docs/ref/contrib/flatpages.txt | 2 +- docs/ref/contrib/gis/db-api.txt | 2 +- docs/ref/contrib/gis/geoquerysets.txt | 2 +- docs/ref/contrib/redirects.txt | 2 +- docs/ref/contrib/syndication.txt | 2 +- docs/ref/django-admin.txt | 4 ++-- docs/ref/settings.txt | 4 ++-- docs/topics/auth.txt | 2 +- docs/topics/db/queries.txt | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/faq/general.txt b/docs/faq/general.txt index 71de888e02..771af8a2cc 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 0bba65ced5..6b5773b5a4 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 eb364dea79..9c6eb033eb 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 7bd7fc8673..7501fb3ec8 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 f52787352f..e34ba405f4 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 5b2b0db2a4..6f89ee187c 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 3ddb390428..0ea8252c71 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 0513aa846c..398c90661b 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 3881f4fcee..b4870860ed 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 e9ad376bf0..b4d4eb1062 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 =================