robosats/robosats/asgi.py
2022-02-17 11:50:10 -08:00

19 lines
429 B
Python

"""
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
import django
from channels.routing import get_default_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tabulator.settings")
django.setup()
application = get_default_application()