enable cache backend
This commit is contained in:
parent
3e14795d0b
commit
f4aa94f848
3 changed files with 11 additions and 0 deletions
|
@ -170,6 +170,13 @@ LOGGING = {
|
|||
}
|
||||
}
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
|
||||
'LOCATION': 'cache',
|
||||
}
|
||||
}
|
||||
|
||||
AUTH_PROFILE_MODULE = 'user.UserProfile'
|
||||
AUTH_CHECK_USERNAME = True
|
||||
FFMPEG = 'ffmpeg'
|
||||
|
|
|
@ -10,3 +10,4 @@ requests==2.19.1
|
|||
tornado<5
|
||||
geoip2==2.9.0
|
||||
youtube-dl
|
||||
python-memcached
|
||||
|
|
|
@ -249,6 +249,9 @@ if __name__ == "__main__":
|
|||
update_service('pandora-tasks')
|
||||
if old < 5975:
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
if old <= 6064:
|
||||
run('./bin/pip', 'install', '-r', 'requirements.txt')
|
||||
run('./pandora/manage.py', 'createcachetable')
|
||||
else:
|
||||
if len(sys.argv) == 1:
|
||||
release = get_release()
|
||||
|
|
Loading…
Reference in a new issue