From c2b5ee0cd90880bf94939ca3c1c050e4312c8fe3 Mon Sep 17 00:00:00 2001 From: jjjkkkjjj Date: Tue, 8 Oct 2024 21:59:43 +0900 Subject: [PATCH] modified routing.rst (#2110) --- docs/topics/routing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/routing.rst b/docs/topics/routing.rst index e265287d..f4c78925 100644 --- a/docs/topics/routing.rst +++ b/docs/topics/routing.rst @@ -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``; @@ -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 -----------------