Skip to content

Commit

Permalink
fix(docs): update links (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored Jun 14, 2024
1 parent 6976d8a commit ba530b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/backends.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^^^^
Expand Down Expand Up @@ -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.::

Expand Down
2 changes: 1 addition & 1 deletion docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba530b9

Please sign in to comment.