This commit is contained in:
xieshen 2020-10-16 11:37:10 +08:00
parent b6289c916d
commit fdc6d8d9aa
1 changed files with 2 additions and 1 deletions

View File

@ -8,9 +8,10 @@ https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/
"""
import os
import sys
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug_expand.settings')
sys.path.append("/var/www/p3/spug_expand")
application = get_wsgi_application()