mirror of
https://github.com/django/django.git
synced 2024-12-22 09:05:43 +00:00
Updated various links to HTTPS and new locations.
This commit is contained in:
parent
eb07b5be0c
commit
010a9d8a4f
@ -69,7 +69,7 @@ environment variable. For example, to show warnings while running tests:
|
||||
|
||||
If you're not using the Django test runner, you may need to also ensure that
|
||||
any console output is not captured which would hide deprecation warnings. For
|
||||
example, if you use `pytest <https://pytest.org/>`__:
|
||||
example, if you use `pytest <https://docs.pytest.org/>`__:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
@ -55,10 +55,10 @@ Having problems? See :ref:`troubleshooting-unit-tests` for some common issues.
|
||||
Running tests using ``tox``
|
||||
---------------------------
|
||||
|
||||
`Tox <https://tox.readthedocs.io/>`_ is a tool for running tests in different
|
||||
virtual environments. Django includes a basic ``tox.ini`` that automates some
|
||||
checks that our build server performs on pull requests. To run the unit tests
|
||||
and other checks (such as :ref:`import sorting <coding-style-imports>`, the
|
||||
`Tox <https://tox.wiki/>`_ is a tool for running tests in different virtual
|
||||
environments. Django includes a basic ``tox.ini`` that automates some checks
|
||||
that our build server performs on pull requests. To run the unit tests and
|
||||
other checks (such as :ref:`import sorting <coding-style-imports>`, the
|
||||
:ref:`documentation spelling checker <documentation-spelling-check>`, and
|
||||
:ref:`code formatting <coding-style-python>`), install and run the ``tox``
|
||||
command from any place in the Django source tree:
|
||||
|
@ -186,7 +186,7 @@ this. For a small app like polls, this process isn't too difficult.
|
||||
#. Next we'll create ``pyproject.toml``, ``setup.cfg``, and ``setup.py`` files
|
||||
which detail how to build and install the app. A full explanation of these
|
||||
files is beyond the scope of this tutorial, but the `setuptools
|
||||
documentation <https://setuptools.readthedocs.io/en/latest/>`_ has a good
|
||||
documentation <https://setuptools.pypa.io/en/latest/>`_ has a good
|
||||
explanation. Create the ``django-polls/pyproject.toml``,
|
||||
``django-polls/setup.cfg``, and ``django-polls/setup.py`` files with the
|
||||
following contents:
|
||||
|
@ -13,7 +13,7 @@ Django's, please consult :doc:`Django's syndication documentation
|
||||
|
||||
.. _W3C Geo: https://www.w3.org/2003/01/geo/
|
||||
|
||||
__ http://georss.org/simple.html
|
||||
__ https://georss.org
|
||||
|
||||
Example
|
||||
=======
|
||||
|
@ -1043,7 +1043,7 @@ and there are a set of methods that ``SyndicationFeed`` calls to get these extra
|
||||
attributes. Thus, you can subclass the appropriate feed generator class
|
||||
(``Atom1Feed`` or ``Rss201rev2Feed``) and extend these callbacks. They are:
|
||||
|
||||
.. _georss: http://georss.org/
|
||||
.. _georss: https://georss.org
|
||||
.. _itunes podcast format: https://help.apple.com/itc/podcasts_connect/#/itcb54353390
|
||||
|
||||
``SyndicationFeed.root_attributes(self)``
|
||||
|
@ -28,7 +28,7 @@ able to store certain characters in the database, and information will be lost.
|
||||
for internal encoding.
|
||||
|
||||
.. _MySQL manual: https://dev.mysql.com/doc/refman/en/charset-database.html
|
||||
.. _PostgreSQL manual: https://www.postgresql.org/docs/current/multibyte.html#id-1.6.10.5.6
|
||||
.. _PostgreSQL manual: https://www.postgresql.org/docs/current/multibyte.html#id-1.6.11.5.6
|
||||
.. _Oracle manual: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/index.html
|
||||
.. _section 2: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/choosing-character-set.html
|
||||
.. _section 11: https://docs.oracle.com/en/database/oracle/oracle-database/18/nlspg/character-set-migration.html
|
||||
|
@ -185,7 +185,7 @@ To use Redis as your cache backend with Django:
|
||||
* Set :setting:`LOCATION <CACHES-LOCATION>` to the URL pointing to your Redis
|
||||
instance, using the appropriate scheme. See the ``redis-py`` docs for
|
||||
`details on the available schemes
|
||||
<https://redis-py.readthedocs.io/en/stable/#redis.ConnectionPool.from_url>`_.
|
||||
<https://redis-py.readthedocs.io/en/stable/connections.html#redis.connection.ConnectionPool.from_url>`_.
|
||||
|
||||
For example, if Redis is running on localhost (127.0.0.1) port 6379::
|
||||
|
||||
@ -568,8 +568,8 @@ class`_ (``redis.ConnectionPool`` is used by default)::
|
||||
}
|
||||
}
|
||||
|
||||
.. _`parser class`: https://github.com/andymccurdy/redis-py#parsers
|
||||
.. _`connection pool class`: https://github.com/andymccurdy/redis-py#connection-pools
|
||||
.. _`parser class`: https://github.com/redis/redis-py#parsers
|
||||
.. _`connection pool class`: https://github.com/redis/redis-py#connection-pools
|
||||
|
||||
.. _the-per-site-cache:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user