kopia lustrzana https://github.com/wagtail/wagtail
Update performance.rst
rodzic
02f3ae5696
commit
1e55b98af0
|
@ -366,6 +366,7 @@ Contributors
|
|||
* Jason Dilworth
|
||||
* Deniz Dogan
|
||||
* Po-Chuan Hsieh
|
||||
* scil
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -20,7 +20,9 @@ We recommend `Redis <http://redis.io/>`_ as a fast, persistent cache. Install Re
|
|||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django_redis.cache.RedisCache',
|
||||
'LOCATION': '127.0.0.1:6379',
|
||||
'LOCATION': 'redis://127.0.0.1:6379/dbname',
|
||||
# for django-redis < 3.8.0, use:
|
||||
# 'LOCATION': '127.0.0.1:6379',
|
||||
'OPTIONS': {
|
||||
'CLIENT_CLASS': 'django_redis.client.DefaultClient',
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue