mirror of
https://github.com/django/daphne.git
synced 2025-11-09 12:07:32 +03:00
6 lines
163 B
Python
6 lines
163 B
Python
import os
|
|
from channels.asgi import get_channel_layer
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "testproject.settings")
|
|
channel_layer = get_channel_layer()
|