From 8012d9a22254a5d5362714d731f02e0c9e1e1a2c Mon Sep 17 00:00:00 2001 From: wangyihan <2924669266@qq.com> Date: Wed, 5 Apr 2023 21:48:33 +0800 Subject: [PATCH] asgi.py --- asgi.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 asgi.py diff --git a/asgi.py b/asgi.py new file mode 100644 index 0000000..4023dd5 --- /dev/null +++ b/asgi.py @@ -0,0 +1,15 @@ +# encoding: utf-8 +from __future__ import absolute_import, unicode_literals + +import os +import django +from channels.routing import get_default_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meeting.settings") +django.setup() +application = get_default_application() + +print(1) +print(2) +print(3) +print(4) \ No newline at end of file -- Gitee