mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Update CACHE controls to work better with django-configurations
This commit is contained in:
parent
14cec10f27
commit
b57a0aec0a
|
@ -20,7 +20,6 @@ Deployment
|
|||
* heroku config:add DJANGO_AWS_ACCESS_KEY_ID=YOUR_ID
|
||||
* heroku config:add DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_KEY
|
||||
* heroku config:add DJANGO_AWS_STORAGE_BUCKET_NAME=BUCKET
|
||||
* heroku config:add CACHE_URL=memcached://127.0.0.1:11211
|
||||
* git push heroku master
|
||||
* heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
|
||||
* heroku run python {{cookiecutter.repo_name}}/manage.py migrate --settings=config.settings
|
||||
|
|
|
@ -380,7 +380,7 @@ class Production(Common):
|
|||
|
||||
########## CACHING
|
||||
# Only do this here because thanks to django-pylibmc-sasl and pylibmc memcacheify is painful to install on windows.
|
||||
CACHES = values.CacheURLValue()
|
||||
CACHES = values.CacheURLValue("memcached://127.0.0.1:11211")
|
||||
########## END CACHING
|
||||
|
||||
########## Your production stuff: Below this line define 3rd party libary settings
|
||||
|
|
Loading…
Reference in New Issue
Block a user