diff --git a/docs/backends.rst b/docs/backends.rst index 4ebb9af..fa7c51b 100644 --- a/docs/backends.rst +++ b/docs/backends.rst @@ -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 `_, +If you are using `django-redis `_, feel free to use the ``CONSTANCE_REDIS_CONNECTION_CLASS`` setting to define a callable that returns a redis connection, e.g.:: diff --git a/docs/testing.rst b/docs/testing.rst index 9508a46..e2a82c0 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -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 `_. +`context manager `_. .. code-block:: python