14 lines
330 B
Python
14 lines
330 B
Python
from __future__ import annotations
|
|
|
|
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="core.settings")
|
|
|
|
application: WSGIHandler = get_wsgi_application()
|