mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
This commit is contained in:
@@ -29,7 +29,7 @@ readability of your code. **All** of the suggestions below come with the caveat
|
||||
that in your circumstances the general principle might not apply, or might even
|
||||
be reversed.
|
||||
|
||||
.. _django-debug-toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar/
|
||||
.. _django-debug-toolbar: https://github.com/jazzband/django-debug-toolbar/
|
||||
|
||||
Use standard DB optimization techniques
|
||||
=======================================
|
||||
|
||||
@@ -1088,7 +1088,7 @@ For example, a ``Blog`` object ``b`` has access to a list of all related
|
||||
All examples in this section use the sample ``Blog``, ``Author`` and ``Entry``
|
||||
models defined at the top of this page.
|
||||
|
||||
.. _descriptors: http://users.rcn.com/python/download/Descriptor.htm
|
||||
.. _descriptors: https://docs.python.org/3/howto/descriptor.html
|
||||
|
||||
One-to-many relationships
|
||||
-------------------------
|
||||
|
||||
@@ -167,7 +167,7 @@ and the :setting:`SECRET_KEY` setting.
|
||||
|
||||
.. _`common limit of 4096 bytes`: https://tools.ietf.org/html/rfc2965#section-5.3
|
||||
.. _`replay attacks`: https://en.wikipedia.org/wiki/Replay_attack
|
||||
.. _`speed of your site`: http://yuiblog.com/blog/2007/03/01/performance-research-part-3/
|
||||
.. _`speed of your site`: https://yuiblog.com/blog/2007/03/01/performance-research-part-3/
|
||||
|
||||
Using sessions in views
|
||||
=======================
|
||||
|
||||
@@ -10,7 +10,7 @@ Install Python
|
||||
Being a Python Web framework, Django requires Python. See
|
||||
:ref:`faq-python-version-support` for details.
|
||||
|
||||
Get the latest version of Python at https://www.python.org/download/ or with
|
||||
Get the latest version of Python at https://www.python.org/downloads/ or with
|
||||
your operating system's package manager.
|
||||
|
||||
.. admonition:: Django on Jython
|
||||
@@ -119,8 +119,8 @@ database queries, Django will need permission to create a test database.
|
||||
.. _MySQL: https://www.mysql.com/
|
||||
.. _psycopg2: http://initd.org/psycopg/
|
||||
.. _SQLite: https://www.sqlite.org/
|
||||
.. _cx_Oracle: http://cx-oracle.sourceforge.net/
|
||||
.. _Oracle: http://www.oracle.com/
|
||||
.. _cx_Oracle: https://oracle.github.io/python-cx_Oracle/
|
||||
.. _Oracle: https://www.oracle.com/
|
||||
|
||||
.. _removing-old-versions-of-django:
|
||||
|
||||
@@ -243,4 +243,4 @@ When you want to update your copy of the Django source code, just run the
|
||||
command ``git pull`` from within the ``django`` directory. When you do this,
|
||||
Git will automatically download any changes.
|
||||
|
||||
.. _Git: http://git-scm.com/
|
||||
.. _Git: https://git-scm.com/
|
||||
|
||||
@@ -56,10 +56,10 @@ Django tools
|
||||
~~~~~~~~~~~~
|
||||
|
||||
`django-debug-toolbar
|
||||
<https://github.com/django-debug-toolbar/django-debug-toolbar/>`_ is a very
|
||||
handy tool that provides insights into what your code is doing and how much
|
||||
time it spends doing it. In particular it can show you all the SQL queries your
|
||||
page is generating, and how long each one has taken.
|
||||
<https://github.com/jazzband/django-debug-toolbar/>`_ is a very handy tool that
|
||||
provides insights into what your code is doing and how much time it spends
|
||||
doing it. In particular it can show you all the SQL queries your page is
|
||||
generating, and how long each one has taken.
|
||||
|
||||
Third-party panels are also available for the toolbar, that can (for example)
|
||||
report on cache performance and template rendering times.
|
||||
|
||||
@@ -831,4 +831,4 @@ Implementing a custom context processor is as simple as defining a function.
|
||||
|
||||
.. _Jinja2: http://jinja.pocoo.org/
|
||||
.. _DEP 182: https://github.com/django/deps/blob/master/final/0182-multiple-template-engines.rst
|
||||
.. _Django Debug Toolbar: https://github.com/django-debug-toolbar/django-debug-toolbar
|
||||
.. _Django Debug Toolbar: https://github.com/jazzband/django-debug-toolbar
|
||||
|
||||
@@ -740,5 +740,5 @@ listed here because of the ``source`` flag passed to the previous command.
|
||||
For more options like annotated HTML listings detailing missed lines, see the
|
||||
`coverage.py`_ docs.
|
||||
|
||||
.. _coverage.py: http://nedbatchelder.com/code/coverage/
|
||||
.. _coverage.py: http://coverage.readthedocs.io/
|
||||
.. _install coverage.py: https://pypi.python.org/pypi/coverage
|
||||
|
||||
Reference in New Issue
Block a user