Add initial project structure and configuration files
This commit is contained in:
parent
bc40d93d37
commit
988d131c49
13 changed files with 688 additions and 20 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