diff options
Diffstat (limited to 'docs/ref/urls.txt')
| -rw-r--r-- | docs/ref/urls.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index 6d0110af76..2bfb80c714 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -21,7 +21,7 @@ Returns an element for inclusion in ``urlpatterns``. For example:: path('bio/<username>/', views.bio, name='bio'), path('articles/<slug:title>/', views.article, name='article-detail'), path('articles/<slug:title>/<int:section>/', views.section, name='article-section'), - path('weblog/', include('blog.urls')), + path('blog/', include('blog.urls')), ... ] @@ -58,7 +58,7 @@ Returns an element for inclusion in ``urlpatterns``. For example:: urlpatterns = [ re_path(r'^index/$', views.index, name='index'), re_path(r'^bio/(?P<username>\w+)/$', views.bio, name='bio'), - re_path(r'^weblog/', include('blog.urls')), + re_path(r'^blog/', include('blog.urls')), ... ] |
