fix env
This commit is contained in:
parent
3c59df8032
commit
64f49414ec
@ -11,6 +11,7 @@ import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ffplayout.settings')
|
||||
os.environ.setdefault(
|
||||
'DJANGO_SETTINGS_MODULE', 'ffplayout.settings.development')
|
||||
|
||||
application = get_asgi_application()
|
||||
|
0
ffplayout/ffplayout/settings/__init__.py
Normal file
0
ffplayout/ffplayout/settings/__init__.py
Normal file
@ -5,7 +5,8 @@ import sys
|
||||
|
||||
|
||||
def main():
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ffplayout.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE',
|
||||
'ffplayout.settings.development')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user