mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
fix(docs): update links (#555)
This commit is contained in:
parent
6976d8a5e9
commit
ba530b9cc0
2 changed files with 3 additions and 3 deletions
|
|
@ -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.::
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue