Skip to content

Commit f786fed

Browse files
andredelormecarltongibson
authored andcommitted
Fixed path() URL example in docs. (#1332)
1 parent 6370199 commit f786fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/part_2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Put the following code in ``chat/routing.py``::
218218
from . import consumers
219219
220220
websocket_urlpatterns = [
221-
path('ws/chat/<str:room_name>/$', consumers.ChatConsumer),
221+
path('ws/chat/<str:room_name>/', consumers.ChatConsumer),
222222
]
223223

224224
The next step is to point the root routing configuration at the **chat.routing**

0 commit comments

Comments
 (0)