mirror of https://github.com/openspug/spug
U api update
parent
a36d1340d2
commit
8f4be882cb
|
@ -1,6 +1,8 @@
|
|||
apscheduler==3.6.3
|
||||
Django==2.2.7
|
||||
channels==2.3.1
|
||||
channels_redis==2.4.1
|
||||
paramiko==2.6.0
|
||||
django-redis==4.10.0
|
||||
requests==2.22.0
|
||||
GitPython==3.0.5
|
|
@ -11,6 +11,13 @@ import os
|
|||
|
||||
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')
|
||||
|
||||
application = get_wsgi_application()
|
||||
|
|
Loading…
Reference in New Issue