summaryrefslogtreecommitdiffstats
path: root/api/api/api/asgi.py
blob: 40b0b55a855ccab691a194b2111f938dc3d9ea0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
ASGI config for api 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.0/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'api.settings')

application = get_asgi_application()