11 lines
286 B
Python
11 lines
286 B
Python
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("DJANGO_SETTINGS_MODULE", "config.settings")
|
|
|
|
application: WSGIHandler = get_wsgi_application()
|