Django_rest_api/backend/drf_course/asgi.py
devfzn a36f93289f
init Django Rest Framework Api course
Inicio de projecto Django 'drf_course' y app 'core'
2023-03-29 14:06:11 -03:00

17 lines
397 B
Python

"""
ASGI config for drf_course 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.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'drf_course.settings')
application = get_asgi_application()