Iniciando um projeto Django com django-admin startproject

This commit is contained in:
Luiz Otávio
2023-04-16 09:20:01 -03:00
parent b933cae3e9
commit f13231e244
6 changed files with 199 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
"""
ASGI config for project 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 os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')
application = get_asgi_application()