2022-01-01 18:53:17 +00:00
|
|
|
"""
|
|
|
|
ASGI config for robosats 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
|
2022-10-25 18:04:12 +00:00
|
|
|
|
2022-02-10 19:28:59 +00:00
|
|
|
import django
|
|
|
|
from channels.routing import get_default_application
|
2022-01-01 18:53:17 +00:00
|
|
|
|
2022-02-17 19:50:10 +00:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tabulator.settings")
|
2022-01-01 18:53:17 +00:00
|
|
|
|
2022-02-10 19:28:59 +00:00
|
|
|
django.setup()
|
2022-01-01 18:53:17 +00:00
|
|
|
|
2022-02-10 19:28:59 +00:00
|
|
|
application = get_default_application()
|