Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.

This commit is contained in:
django-bot 2023-02-28 20:53:28 +01:00 committed by Mariusz Felisiak
parent 6015bab80e
commit 14459f80ee
193 changed files with 5797 additions and 4481 deletions

View file

@ -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.