robosats/robosats/asgi.py
2022-10-25 11:04:12 -07:00

20 lines
430 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()