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.
This commit is contained in:
Michiel Beijen 2017-05-20 15:32:35 +02:00 committed by Claude Paroz
parent 43c65e0eb0
commit 48028c6f9a
5 changed files with 5 additions and 6 deletions

View File

@ -841,7 +841,6 @@ A big THANK YOU goes to:
Ian Bicking for convincing Adrian to ditch code generation. Ian Bicking for convincing Adrian to ditch code generation.
Mark Pilgrim for "Dive Into Python" (http://www.diveintopython.net, Mark Pilgrim for "Dive Into Python" (http://www.diveintopython3.net).
http://www.diveintopython3.net).
Guido van Rossum for creating Python. Guido van Rossum for creating Python.

View File

@ -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 * After reading those, if you want something a little meatier to sink
your teeth into, there's always the Python :mod:`unittest` documentation. 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 Running your new test
--------------------- ---------------------

View File

@ -1560,7 +1560,7 @@ Example usage::
django-admin migrate --pythonpath='/home/djangoprojects/myproject' 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 .. django-admin-option:: --settings SETTINGS

View File

@ -115,7 +115,7 @@ Example requests:
* ``/articles/2003/03/03/`` would match the final pattern. Django would call * ``/articles/2003/03/03/`` would match the final pattern. Django would call
the function ``views.article_detail(request, '2003', '03', '03')``. 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 Named groups
============ ============

View File

@ -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 ``mysite.settings``. Note that the settings module should be on the
Python `import search path`_. 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 The ``django-admin`` utility
---------------------------- ----------------------------