From 7d02f29e488c4576369ab6fa83b29622a4ced623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Tue, 6 Sep 2016 01:26:44 +0200 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9paration=20pour=20daphne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apache/__init__.py | 0 apache/asgi.py | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 apache/__init__.py create mode 100644 apache/asgi.py diff --git a/apache/__init__.py b/apache/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/apache/asgi.py b/apache/asgi.py new file mode 100644 index 00000000..eb18c7b2 --- /dev/null +++ b/apache/asgi.py @@ -0,0 +1,6 @@ +import os +from channels.asgi import get_channel_layer + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cof.settings") + +channel_layer = get_channel_layer()