wsgi.py
python_backend/curriculum/django/myproject/wsgi.py
"""
WSGI config for myproject 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/4.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings")
application = get_wsgi_application()
相关文章
apps.py
apps.py — python source code from the python backend learning materials (python_backend/curriculum/django/blog/apps.py).
阅读文章 →0001_initial.py
0001_initial.py — python source code from the python backend learning materials (python_backend/curriculum/django/blog/migrations/0001_initial.py).
阅读文章 →models.py
models.py — python source code from the python backend learning materials (python_backend/curriculum/django/blog/models.py).
阅读文章 →urls.py
urls.py — python source code from the python backend learning materials (python_backend/curriculum/django/blog/urls.py).
阅读文章 →views.py
views.py — python source code from the python backend learning materials (python_backend/curriculum/django/blog/views.py).
阅读文章 →manage.py
manage.py — python source code from the python backend learning materials (python_backend/curriculum/django/manage.py).
阅读文章 →