﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34189	Code in Tutorial does not work because of a ','	Roger Rüttimann	nobody	"Page: https://docs.djangoproject.com/en/4.1/intro/tutorial01/

Code 

{{{
from django.urls import path

from . import views

urlpatterns = [
    path('', views.index, name='index'),
]
}}}

the ',' at the end of path(...) needs to be removed, otherwise an exception is raised and the code does not work. 

it should be: 


{{{
from django.urls import path

from . import views

urlpatterns = [
    path('', views.index, name='index')
]
}}}


I am sorry in case I violite some buge tracking conventions. I actually want to continue with the tutorial, but wanted to raise the issue. Thanks for the otherwise greate tutorial! :)
"	Bug	closed	Documentation	4.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
