mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-03 19:08:15 +03:00
Added docker parameter to hiredis requirement
This commit is contained in:
parent
4d54dcaa32
commit
bf5f557d2b
|
@ -36,7 +36,6 @@ CACHES = {
|
|||
# Mimicing memcache behavior.
|
||||
# http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior
|
||||
"IGNORE_EXCEPTIONS": True,
|
||||
"PARSER_CLASS": "redis.connection.HiredisParser",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ argon2-cffi==19.2.0 # https://github.com/hynek/argon2_cffi
|
|||
whitenoise==5.0.1 # https://github.com/evansd/whitenoise
|
||||
{%- endif %}
|
||||
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
|
||||
{%- endif %}
|
||||
{%- if cookiecutter.use_celery == "y" %}
|
||||
|
|
|
@ -12,7 +12,7 @@ Collectfast==2.1.0 # https://github.com/antonagestam/collectfast
|
|||
{%- if cookiecutter.use_sentry == "y" %}
|
||||
sentry-sdk==0.14.3 # https://github.com/getsentry/sentry-python
|
||||
{%- endif %}
|
||||
{%- if cookiecutter.windows == "y" %}
|
||||
{%- if cookiecutter.use_docker == "y" or cookiecutter.windows == "y" %}
|
||||
hiredis==1.0.1 # https://github.com/redis/hiredis-py
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user