example-of-crud-in-django-w.../project/asgi.py

17 lines
391 B
Python
Raw Normal View History

2021-07-05 15:56:53 +02:00
"""
2021-07-14 16:19:03 +02:00
ASGI config for proyect project.
2021-07-05 15:56:53 +02:00
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
2021-07-14 17:17:52 +02:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
2021-07-05 15:56:53 +02:00
application = get_asgi_application()