Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add "name" to WS and Web Module paths
  • Loading branch information
Archmonger committed Dec 15, 2021
commit 1ffd078b0c9fc8d238c2d795a102335adb0a8721
8 changes: 6 additions & 2 deletions src/django_idom/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@


IDOM_WEBSOCKET_PATH = path(
IDOM_WEBSOCKET_URL + "<view_id>/", IdomAsyncWebsocketConsumer.as_asgi()
IDOM_WEBSOCKET_URL + "<view_id>/",
IdomAsyncWebsocketConsumer.as_asgi(),
name="idom_websocket",
)
"""A URL resolver for :class:`IdomAsyncWebsocketConsumer`

Expand All @@ -17,7 +19,9 @@


IDOM_WEB_MODULES_PATH = path(
IDOM_WEB_MODULES_URL + "<path:file>", views.web_modules_file
IDOM_WEB_MODULES_URL + "<path:file>",
views.web_modules_file,
name="idom_web_modules",
)
"""A URL resolver for static web modules required by IDOM

Expand Down