mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
314 B
14 lines
314 B
"""
|
|
ASGI entrypoint. Configures Django and then runs the application
|
|
defined in the ASGI_APPLICATION setting.
|
|
"""
|
|
|
|
import os
|
|
|
|
from channels.routing import get_default_application
|
|
import django
|
|
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sapl.settings")
|
|
django.setup()
|
|
application = get_default_application()
|