Added docker parameter to hiredis requirement

This commit is contained in:
Andrew-Chen-Wang 2020-05-01 10:35:20 -04:00
parent 4d54dcaa32
commit bf5f557d2b
3 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,6 @@ CACHES = {
# Mimicing memcache behavior. # Mimicing memcache behavior.
# http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior # http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior
"IGNORE_EXCEPTIONS": True, "IGNORE_EXCEPTIONS": True,
"PARSER_CLASS": "redis.connection.HiredisParser",
}, },
} }
} }

View File

@ -9,7 +9,7 @@ argon2-cffi==19.2.0 # https://github.com/hynek/argon2_cffi
whitenoise==5.0.1 # https://github.com/evansd/whitenoise whitenoise==5.0.1 # https://github.com/evansd/whitenoise
{%- endif %} {%- endif %}
redis==3.4.1 # https://github.com/andymccurdy/redis-py redis==3.4.1 # https://github.com/andymccurdy/redis-py
{%- if cookiecutter.windows == "n" %} {%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "n" %}
hiredis==1.0.1 # https://github.com/redis/hiredis-py hiredis==1.0.1 # https://github.com/redis/hiredis-py
{%- endif %} {%- endif %}
{%- if cookiecutter.use_celery == "y" %} {%- if cookiecutter.use_celery == "y" %}

View File

@ -12,7 +12,7 @@ Collectfast==2.1.0 # https://github.com/antonagestam/collectfast
{%- if cookiecutter.use_sentry == "y" %} {%- if cookiecutter.use_sentry == "y" %}
sentry-sdk==0.14.3 # https://github.com/getsentry/sentry-python sentry-sdk==0.14.3 # https://github.com/getsentry/sentry-python
{%- endif %} {%- endif %}
{%- if cookiecutter.windows == "y" %} {%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "y" %}
hiredis==1.0.1 # https://github.com/redis/hiredis-py hiredis==1.0.1 # https://github.com/redis/hiredis-py
{%- endif %} {%- endif %}