mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-19 17:41:53 +00:00
Update CACHE controls to work better with django-configurations
This commit is contained in:
parent
14cec10f27
commit
b57a0aec0a
2 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue