Skip to content

Commit

Permalink
modified routing.rst (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjkkkjjj committed Oct 8, 2024
1 parent a303572 commit c2b5ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Here's an example for nested routings. When you configure the routings in parent
.. code-block:: python
urlpatterns = [
path("app1/", include("src.app1.routings"), name="app1"),
path("app1/", include("app1.routings"), name="app1"),
]
and in child ``app1/routings.py``;
Expand All @@ -125,7 +125,7 @@ and in child ``app1/routings.py``;
re_path(r"chats/(\d+)/$", test_app, name="chats"),
]
you can establish the connection via the path such like ``/app1/chats/5/``.
This would resolve to a path such as ``/app1/chats/5/``.

ChannelNameRouter
-----------------
Expand Down

0 comments on commit c2b5ee0

Please sign in to comment.