summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index d9142e7a03..cb296129c0 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -286,7 +286,7 @@ In the ``polls/urls.py`` file include the following code:
from . import views
urlpatterns = [
- path('', views.index, name='index'),
+ path("", views.index, name="index"),
]
The next step is to point the root URLconf at the ``polls.urls`` module. In
@@ -300,8 +300,8 @@ The next step is to point the root URLconf at the ``polls.urls`` module. In
from django.urls import include, path
urlpatterns = [
- path('polls/', include('polls.urls')),
- path('admin/', admin.site.urls),
+ path("polls/", include("polls.urls")),
+ path("admin/", admin.site.urls),
]
The :func:`~django.urls.include` function allows referencing other URLconfs.