robosats/robosats/asgi.py

20 lines
430 B
Python
Raw Normal View History

"""
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
import django
from channels.routing import get_default_application
2022-02-17 19:50:10 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tabulator.settings")
django.setup()
application = get_default_application()