fix(docs): update links (#555)

This commit is contained in:
Rotzbua 2024-06-14 16:59:48 +02:00 committed by GitHub
parent 6976d8a5e9
commit ba530b9cc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ Configuration installation is simple::
# optionally set a value ttl
CONSTANCE_REDIS_CACHE_TIMEOUT = 60
.. _`redis-py`: https://pypi.python.org/pypi/redis
.. _`redis-py`: https://pypi.org/project/redis/
Settings
^^^^^^^^
@ -60,7 +60,7 @@ An (optional) dotted import path to a connection to use, e.g.::
CONSTANCE_REDIS_CONNECTION_CLASS = 'myproject.myapp.mockup.Connection'
If you are using `django-redis <https://niwinz.github.io/django-redis/latest/>`_,
If you are using `django-redis <https://github.com/jazzband/django-redis>`_,
feel free to use the ``CONSTANCE_REDIS_CONNECTION_CLASS`` setting to define
a callable that returns a redis connection, e.g.::

View file

@ -15,7 +15,7 @@ Usage
It can be used as a decorator at the :class:`~django.test.TestCase` level, the
method level and also as a
`context manager <https://www.python.org/dev/peps/pep-0343/>`_.
`context manager <https://peps.python.org/pep-0343/>`_.
.. code-block:: python