mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Use hiredis
This commit is contained in:
parent
e60084fee1
commit
dfd1ee8bb2
|
@ -36,6 +36,7 @@ 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",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,8 @@ argon2-cffi==19.2.0 # https://github.com/hynek/argon2_cffi
|
||||||
{%- if cookiecutter.use_whitenoise == 'y' %}
|
{%- if cookiecutter.use_whitenoise == 'y' %}
|
||||||
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
|
||||||
|
hiredis==1.0.1 # https://github.com/redis/hiredis-py
|
||||||
{%- if cookiecutter.use_celery == "y" %}
|
{%- if cookiecutter.use_celery == "y" %}
|
||||||
celery==4.4.2 # pyup: < 5.0 # https://github.com/celery/celery
|
celery==4.4.2 # pyup: < 5.0 # https://github.com/celery/celery
|
||||||
django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat
|
django-celery-beat==2.0.0 # https://github.com/celery/django-celery-beat
|
||||||
|
|
Loading…
Reference in New Issue
Block a user