diff options
| author | Daniyal <abbasi.daniyal98@gmail.com> | 2021-05-24 05:31:50 +0530 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-09-14 15:50:08 +0200 |
| commit | ec212c66167759a2a40b13d5efc47d883816d4da (patch) | |
| tree | 740bed1fef217361ef973c732045de73bb6f64d1 /docs/internals/contributing/writing-code/unit-tests.txt | |
| parent | 676bd084f2509f4201561d5c77ed4ecbd157bfa0 (diff) | |
Fixed #33012 -- Added Redis cache backend.
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight,
Mariusz Felisiak, and Nick Pope for reviews and mentoring this
Google Summer of Code 2021 project.
Diffstat (limited to 'docs/internals/contributing/writing-code/unit-tests.txt')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 6a5bd5ab8f..9bba72c451 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -285,6 +285,7 @@ dependencies: * PyYAML_ * pytz_ (required) * pywatchman_ +* redis_ * setuptools_ * memcached_, plus a :ref:`supported Python binding <memcached>` * gettext_ (:ref:`gettext_on_windows`) @@ -308,8 +309,9 @@ encounter. You can also install the database adapter(s) of your choice using ``oracle.txt``, ``mysql.txt``, or ``postgres.txt``. -If you want to test the memcached cache backend, you'll also need to define -a :setting:`CACHES` setting that points at your memcached instance. +If you want to test the memcached or Redis cache backends, you'll also need to +define a :setting:`CACHES` setting that points at your memcached or Redis +instance respectively. To run the GeoDjango tests, you will need to :doc:`set up a spatial database and install the Geospatial libraries</ref/contrib/gis/install/index>`. @@ -332,6 +334,7 @@ service. .. _PyYAML: https://pyyaml.org/wiki/PyYAML .. _pytz: https://pypi.org/project/pytz/ .. _pywatchman: https://pypi.org/project/pywatchman/ +.. _redis: https://pypi.org/project/redis/ .. _setuptools: https://pypi.org/project/setuptools/ .. _memcached: https://memcached.org/ .. _gettext: https://www.gnu.org/software/gettext/manual/gettext.html |
