This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
"""
WSGI config for djangoblog project.
它将WSGI可调用对象暴露为名为``application``的模块级变量。
有关此文件的更多信息,请参阅:
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
import os
# 导入Django的WSGI应用获取函数
from django.core.wsgi import get_wsgi_application
# 设置Django的默认设置模块
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoblog.settings")
# 获取WSGI应用实例
# 这个application变量将被WSGI服务器(如Gunicorn、uWSGI)使用来服务Django应用
application = get_wsgi_application()