mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 19:27:14 -06:00
feat(django): testing using backend django vs built in python
This commit is contained in:
16
djangotutorial/mysite/asgi.py
Normal file
16
djangotutorial/mysite/asgi.py
Normal file
@ -0,0 +1,16 @@
|
||||
"""
|
||||
ASGI config for mysite 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/5.1/howto/deployment/asgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings")
|
||||
|
||||
application = get_asgi_application()
|
Reference in New Issue
Block a user