mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-06 00:34:27 +00:00
9 lines
205 B
Python
9 lines
205 B
Python
import os
|
|
|
|
import django
|
|
from channels.routing import get_default_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jumpserver.settings")
|
|
django.setup()
|
|
application = get_default_application()
|