summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2023-02-28 20:53:28 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-03-01 13:03:56 +0100
commit14459f80ee3a9e005989db37c26fd13bb6d2fab2 (patch)
treeeb62429ed696ed3a5389f3a676aecfc6d15a99cc /docs/intro/tutorial01.txt
parent6015bab80e28aef2669f6fac53423aa65f70cb08 (diff)
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
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.