wsgi.py 391 字节
Newer Older
ld_4215105's avatar
add  
ld_4215105 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
"""
WSGI config for project project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')

application = get_wsgi_application()