Hi,

I'm doing the tutorial right now and I'am at step 3: 
https://docs.djangoproject.com/en/2.0/intro/tutorial03/

I think the path is not correct in the tutorial.

In the tutorial:

path('<int:question_id>/', views.detail, name='detail'),

If I do it like that I get a 404 I have to use:

path('/<int:question_id>/', views.detail, name='detail'),

if you agree that this is a bug I will report it.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/81c64052-3350-4064-83c1-aa0b791ff115%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to