Skip to content

Commit 71968ee

Browse files
authored
fix websocket example in readme (reactive-python#16)
1 parent 3e4916b commit 71968ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import os
6868

6969
from django.core.asgi import get_asgi_application
7070

71-
from django_idom import IDOM_WEB_MODULES_PATH
71+
from django_idom import IDOM_WEBSOCKET_PATH
7272

7373
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_app.settings")
7474

@@ -82,7 +82,7 @@ application = ProtocolTypeRouter(
8282
"http": http_asgi_app,
8383
"websocket": URLRouter(
8484
# add a path for IDOM's websocket
85-
[IDOM_WEB_MODULES_PATH]
85+
[IDOM_WEBSOCKET_PATH]
8686
),
8787
}
8888
)

0 commit comments

Comments
 (0)