diff options
| author | django-bot <ops@djangoproject.com> | 2023-03-01 13:35:43 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-01 13:39:03 +0100 |
| commit | 62510f01e76ad0526c94ea6d1bc6399c1ddf3df4 (patch) | |
| tree | 79844be246eba809a4ca09c6f4c3448f2276321a /docs/intro/tutorial01.txt | |
| parent | 32f224e359c68e70e3f9a230be0265dcd6677079 (diff) | |
[4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 76fccc1e8b..6acf3fcd88 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. |
