mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-04 02:58:16 +00:00
13 lines
330 B
Python
13 lines
330 B
Python
|
|
"""
|
||
|
|
ASGI entrypoint. Configures Django and then runs the application
|
||
|
|
defined in the ASGI_APPLICATION setting.
|
||
|
|
"""
|
||
|
|
|
||
|
|
import os
|
||
|
|
import django
|
||
|
|
from channels.routing import get_default_application
|
||
|
|
|
||
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ChannelsDrawShareSite.settings")
|
||
|
|
django.setup()
|
||
|
|
application = get_default_application()
|