Add initial Django project
This commit is contained in:
parent
94aae4653c
commit
fa6af127c1
15 changed files with 1103 additions and 4 deletions
14
config/wsgi.py
Normal file
14
config/wsgi.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import os
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from django.core.handlers.wsgi import WSGIHandler
|
||||
|
||||
os.environ.setdefault(
|
||||
key="DJANGO_SETTINGS_MODULE",
|
||||
value="config.settings",
|
||||
)
|
||||
|
||||
application: WSGIHandler = get_wsgi_application()
|
||||
Loading…
Add table
Add a link
Reference in a new issue