M1-Palto-Server/Palto/asgi.py

17 lines
387 B
Python

"""
ASGI config for Palto project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/
"""
import dotenv
from django.core.asgi import get_asgi_application
from utils import env
dotenv.load_dotenv(env.create_dotenv())
application = get_asgi_application()