enable cache backend

This commit is contained in:
j 2018-11-15 10:30:17 +00:00
parent 3e14795d0b
commit f4aa94f848
3 changed files with 11 additions and 0 deletions

View file

@ -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'

View file

@ -10,3 +10,4 @@ requests==2.19.1
tornado<5
geoip2==2.9.0
youtube-dl
python-memcached

View file

@ -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()