Created
March 7, 2014 09:52
-
-
Save etng/9408675 to your computer and use it in GitHub Desktop.
clear django cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DJANGO_SETTINGS_MODULE='my_project.settings' | |
cd my_project/ | |
python manage.py shell | |
from django.core.cache import cache | |
cache.clear() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment