mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 10:56:24 +00:00
20 lines
430 B
Python
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()
|