mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
This commit is contained in:
parent
7c4ee487c7
commit
c156e36955
55 changed files with 100 additions and 97 deletions
|
@ -340,12 +340,12 @@ Include any other hashers that your site uses in this list.
|
|||
|
||||
.. _sha1: https://en.wikipedia.org/wiki/SHA1
|
||||
.. _pbkdf2: https://en.wikipedia.org/wiki/PBKDF2
|
||||
.. _nist: https://dx.doi.org/10.6028/NIST.SP.800-132
|
||||
.. _nist: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
|
||||
.. _bcrypt: https://en.wikipedia.org/wiki/Bcrypt
|
||||
.. _`bcrypt library`: https://pypi.org/project/bcrypt/
|
||||
.. _`argon2-cffi library`: https://pypi.org/project/argon2_cffi/
|
||||
.. _`argon2-cffi library`: https://pypi.org/project/argon2-cffi/
|
||||
.. _argon2: https://en.wikipedia.org/wiki/Argon2
|
||||
.. _`Password Hashing Competition`: https://password-hashing.net
|
||||
.. _`Password Hashing Competition`: https://www.password-hashing.net/
|
||||
|
||||
.. _auth-included-hashers:
|
||||
|
||||
|
|
|
@ -35,9 +35,9 @@ specific views, you can cache only the pieces that are difficult to produce,
|
|||
or you can cache your entire site.
|
||||
|
||||
Django also works well with "downstream" caches, such as `Squid
|
||||
<http://www.squid-cache.org>`_ and browser-based caches. These are the types of
|
||||
caches that you don't directly control but to which you can provide hints (via
|
||||
HTTP headers) about which parts of your site should be cached, and how.
|
||||
<http://www.squid-cache.org/>`_ and browser-based caches. These are the types
|
||||
of caches that you don't directly control but to which you can provide hints
|
||||
(via HTTP headers) about which parts of your site should be cached, and how.
|
||||
|
||||
.. seealso::
|
||||
The :ref:`Cache Framework design philosophy <cache-design-philosophy>`
|
||||
|
|
|
@ -98,7 +98,7 @@ can then look it up in the database. There are a variety of third-party
|
|||
libraries which are designed to help with this process.
|
||||
|
||||
.. _Elastic: https://www.elastic.co/
|
||||
.. _Solr: https://lucene.apache.org/solr/
|
||||
.. _Solr: https://solr.apache.org/
|
||||
|
||||
PostgreSQL support
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
@ -209,7 +209,7 @@ from the request's POST data, sends that to admin@example.com and redirects to
|
|||
# to get proper validation errors.
|
||||
return HttpResponse('Make sure all fields are entered and valid.')
|
||||
|
||||
.. _Header injection: http://www.nyphp.org/phundamentals/8_Preventing-Email-Header-Injection
|
||||
.. _Header injection: http://nyphp.org/phundamentals/8_Preventing-Email-Header-Injection
|
||||
|
||||
.. _emailmessage-and-smtpconnection:
|
||||
|
||||
|
|
|
@ -33,6 +33,6 @@ Formtools
|
|||
|
||||
``django-formtools`` is a collection of assorted utilities to work with forms.
|
||||
|
||||
* `GitHub <https://github.com/django/django-formtools>`__
|
||||
* `GitHub <https://github.com/jazzband/django-formtools/>`__
|
||||
* `Documentation <https://django-formtools.readthedocs.io/>`__
|
||||
* `PyPI <https://pypi.org/project/django-formtools/>`__
|
||||
|
|
|
@ -422,7 +422,7 @@ form is rendered, the problem may not even be visible on the web page.
|
|||
The alternative approach would be to include all fields automatically, or
|
||||
remove only some. This fundamental approach is known to be much less secure
|
||||
and has led to serious exploits on major websites (e.g. `GitHub
|
||||
<https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation>`_).
|
||||
<https://github.blog/2012-03-04-public-key-security-vulnerability-and-mitigation/>`_).
|
||||
|
||||
There are, however, two shortcuts available for cases where you can guarantee
|
||||
these security concerns do not apply to you:
|
||||
|
|
|
@ -1555,9 +1555,9 @@ multiple times::
|
|||
in general, and doesn't depend on ``gettext``. For more information, read
|
||||
its documentation about `working with message catalogs`_.
|
||||
|
||||
.. _Message extracting: http://babel.pocoo.org/en/latest/messages.html#message-extraction
|
||||
.. _Babel: http://babel.pocoo.org/
|
||||
.. _working with message catalogs: http://babel.pocoo.org/en/latest/messages.html
|
||||
.. _Message extracting: https://babel.pocoo.org/en/latest/messages.html#message-extraction
|
||||
.. _Babel: https://babel.pocoo.org/en/latest/
|
||||
.. _working with message catalogs: https://babel.pocoo.org/en/latest/messages.html
|
||||
|
||||
.. admonition:: No gettext?
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ insight into your site's overall performance, including aspects that can't be
|
|||
adequately measured from within Django environment. Examples include:
|
||||
|
||||
* `Yahoo's Yslow <http://yslow.org/>`_
|
||||
* `Google PageSpeed <https://developers.google.com/speed/pagespeed/>`_
|
||||
* `Google PageSpeed <https://developers.google.com/speed/>`_
|
||||
|
||||
There are also several paid-for services that perform a similar analysis,
|
||||
including some that are Django-aware and can integrate with your codebase to
|
||||
|
@ -378,8 +378,8 @@ adequate. However, if the bottlenecks in your Django project seem to lie in the
|
|||
template system and you have exhausted other opportunities to remedy this, a
|
||||
third-party alternative may be the answer.
|
||||
|
||||
`Jinja2 <http://jinja.pocoo.org/docs/>`_ can offer performance improvements,
|
||||
particularly when it comes to speed.
|
||||
Jinja2_ can offer performance improvements, particularly when it comes to
|
||||
speed.
|
||||
|
||||
Alternative template systems vary in the extent to which they share Django's
|
||||
templating language.
|
||||
|
@ -410,15 +410,15 @@ performance gains for your application to outweigh the potential risks.
|
|||
|
||||
With these caveats in mind, you should be aware of:
|
||||
|
||||
`PyPy <https://pypy.org/>`_
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
`PyPy <https://www.pypy.org/>`_
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~----
|
||||
|
||||
`PyPy <https://pypy.org/>`_ is an implementation of Python in Python itself
|
||||
`PyPy <https://www.pypy.org/>`_ is an implementation of Python in Python itself
|
||||
(the 'standard' Python implementation is in C). PyPy can offer substantial
|
||||
performance gains, typically for heavyweight applications.
|
||||
|
||||
A key aim of the PyPy project is `compatibility
|
||||
<https://pypy.org/compat.html>`_ with existing Python APIs and libraries.
|
||||
<https://www.pypy.org/compat.html>`_ with existing Python APIs and libraries.
|
||||
Django is compatible, but you will need to check the compatibility of other
|
||||
libraries you rely on.
|
||||
|
||||
|
@ -428,3 +428,5 @@ C implementations of Python libraries
|
|||
Some Python libraries are also implemented in C, and can be much faster. They
|
||||
aim to offer the same APIs. Note that compatibility issues and behavior
|
||||
differences are not unknown (and not always immediately evident).
|
||||
|
||||
.. _Jinja2: https://jinja.palletsprojects.com/
|
||||
|
|
|
@ -167,7 +167,7 @@ Identifier Information
|
|||
========== ==============================================================
|
||||
|
||||
.. _json: https://json.org/
|
||||
.. _jsonl: http://jsonlines.org/
|
||||
.. _jsonl: https://jsonlines.org/
|
||||
.. _PyYAML: https://pyyaml.org/
|
||||
|
||||
XML
|
||||
|
@ -303,7 +303,7 @@ The JSON serializer uses ``DjangoJSONEncoder`` for encoding. A subclass of
|
|||
:class:`~decimal.Decimal`, ``Promise`` (``django.utils.functional.lazy()`` objects), :class:`~uuid.UUID`
|
||||
A string representation of the object.
|
||||
|
||||
.. _ecma-262: https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
|
||||
.. _ecma-262: https://262.ecma-international.org/5.1/#sec-15.9.1.15
|
||||
|
||||
.. _serialization-formats-jsonl:
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ The value of :envvar:`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: https://www.diveinto.org/python3/your-first-python-program.html#importsearchpath
|
||||
.. _import search path: https://diveinto.org/python3/your-first-python-program.html#importsearchpath
|
||||
|
||||
The ``django-admin`` utility
|
||||
----------------------------
|
||||
|
|
|
@ -988,7 +988,7 @@ case you do not have Firefox installed or wish to use another browser. The
|
|||
example above is just a tiny fraction of what the Selenium client can do; check
|
||||
out the `full reference`_ for more details.
|
||||
|
||||
.. _Selenium: http://seleniumhq.org/
|
||||
.. _Selenium: https://www.selenium.dev/
|
||||
.. _selenium package: https://pypi.org/project/selenium/
|
||||
.. _full reference: https://selenium-python.readthedocs.io/api.html
|
||||
.. _Firefox: https://www.mozilla.com/firefox/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue