10b3bb6497
* geis does not work with channels2 and never will be (it has to be python now) * pytest * rewrote cache system * use username instead of pk for admin user in tests
17 lines
447 B
Python
17 lines
447 B
Python
"""
|
|
ASGI entrypoint. Configures Django and then runs the application
|
|
defined in the ASGI_APPLICATION setting.
|
|
"""
|
|
|
|
import django
|
|
from channels.routing import get_default_application
|
|
|
|
from .utils.main import setup_django_settings_module
|
|
|
|
|
|
# Loads the openslides setting. You can use your own settings by setting the
|
|
# environment variable DJANGO_SETTINGS_MODULE
|
|
setup_django_settings_module()
|
|
django.setup()
|
|
application = get_default_application()
|