U api update

pull/22/head
vapao 2020-01-07 12:33:09 +08:00
parent a36d1340d2
commit 8f4be882cb
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,8 @@
apscheduler==3.6.3 apscheduler==3.6.3
Django==2.2.7 Django==2.2.7
channels==2.3.1 channels==2.3.1
channels_redis==2.4.1
paramiko==2.6.0 paramiko==2.6.0
django-redis==4.10.0 django-redis==4.10.0
requests==2.22.0 requests==2.22.0
GitPython==3.0.5

View File

@ -11,6 +11,13 @@ import os
from django.core.wsgi import get_wsgi_application from django.core.wsgi import get_wsgi_application
try:
from public import setting_overrides
settings_path = 'public.setting_overrides'
except ImportError:
settings_path = 'public.settings'
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug.settings')
application = get_wsgi_application() application = get_wsgi_application()