summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichiel Beijen <michiel.beijen@gmail.com>2017-05-20 15:32:35 +0200
committerClaude Paroz <claude@2xlibre.net>2017-05-20 15:32:35 +0200
commit48028c6f9a22742ff05da79822f5e3385d1b4c4c (patch)
tree25cfa2eb58245d1fcda4104ce8141aee4a379d6a /docs
parent43c65e0eb003b0eed34eae60a9e2292c00d7e4b6 (diff)
Pointed Dive into Python links to python3 site
The old site handles python2, and is thus no longer relevant for Django. Also I pointed the search path links to the proper sections.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/contributing.txt2
-rw-r--r--docs/ref/django-admin.txt2
-rw-r--r--docs/topics/http/urls.txt2
-rw-r--r--docs/topics/settings.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt
index a7434c48d4..7824cdbe84 100644
--- a/docs/intro/contributing.txt
+++ b/docs/intro/contributing.txt
@@ -396,7 +396,7 @@ that passing a ``prefix`` parameter when creating an instance still works too.
* After reading those, if you want something a little meatier to sink
your teeth into, there's always the Python :mod:`unittest` documentation.
-__ http://www.diveintopython.net/unit_testing/index.html
+__ http://www.diveintopython3.net/unit-testing.html
Running your new test
---------------------
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 2265a17e05..45fd50b587 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1560,7 +1560,7 @@ Example usage::
django-admin migrate --pythonpath='/home/djangoprojects/myproject'
-.. _import search path: http://www.diveintopython.net/getting_to_know_python/everything_is_an_object.html
+.. _import search path: http://www.diveintopython3.net/your-first-python-program.html#importsearchpath
.. django-admin-option:: --settings SETTINGS
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
index 6e891e72f3..d5bae7f072 100644
--- a/docs/topics/http/urls.txt
+++ b/docs/topics/http/urls.txt
@@ -115,7 +115,7 @@ Example requests:
* ``/articles/2003/03/03/`` would match the final pattern. Django would call
the function ``views.article_detail(request, '2003', '03', '03')``.
-.. _Dive Into Python's explanation: http://www.diveintopython.net/regular_expressions/street_addresses.html#re.matching.2.3
+.. _Dive Into Python's explanation: http://www.diveintopython3.net/regular-expressions.html#streetaddresses
Named groups
============
diff --git a/docs/topics/settings.txt b/docs/topics/settings.txt
index 25b3f94fe3..668f90afe2 100644
--- a/docs/topics/settings.txt
+++ b/docs/topics/settings.txt
@@ -46,7 +46,7 @@ The value of ``DJANGO_SETTINGS_MODULE`` should be in Python path syntax, e.g.
``mysite.settings``. Note that the settings module should be on the
Python `import search path`_.
-.. _import search path: http://www.diveintopython.net/getting_to_know_python/everything_is_an_object.html
+.. _import search path: http://www.diveintopython3.net/your-first-python-program.html#importsearchpath
The ``django-admin`` utility
----------------------------