mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Use hiredis
This commit is contained in:
parent
e60084fee1
commit
dfd1ee8bb2
|
@ -36,6 +36,7 @@ CACHES = {
|
|||
# Mimicing memcache behavior.
|
||||
# http://jazzband.github.io/django-redis/latest/#_memcached_exceptions_behavior
|
||||
"IGNORE_EXCEPTIONS": True,
|
||||
"PARSER_CLASS": "redis.connection.HiredisParser",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +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
|
||||
hiredis==1.0.1 # https://github.com/redis/hiredis-py
|
||||
{%- if cookiecutter.use_celery == "y" %}
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user