Now I am in the situation where "votes" works but "detail" and "results" 
does not work.  So weird.. Well, I just checked "votes" to make sure it 
works and it doesn't.  "index works and takes me to "detail" which, 
according to the tutorial, is what it supposed to do.  Does anybody know 
this code?

On Wednesday, October 21, 2020 at 1:04:26 PM UTC-7 Kasper Laudrup wrote:

> Actually, I tried "votes" one more time and it did work.
>
> On 10/21/20 12:02 PM, Kasper Laudrup wrote:
> > Hi rbar,
> >
> > On 21/10/2020 20.34, rbar...@xcaretresearch.com wrote:
> >> The error message shows that there is a match.  What am I doing wrong?
> >
> > No, the error message shows you that there *isn't* a match:
> >
> >>
> >> The current path, polls/3/detail, didn't match any of these.
> >>
> >
> > Maybe change:
> >
> > path('<int:question_id>/', views.detail, name='detail'),
> >
> > to:
> >
> > path('<int:question_id>/detail', views.detail, name='detail'),
> >
> > The error message is quite clear and helpful, you probably just didn't 
> > read it correctly. No worries, that can happen to all of us often 
> > enough :-)
> >
> > Hope that helps.
> >
> > Kind regards,
> >
> > Kasper Laudrup
> >
>
> -- 
> Cheers,
>
> /Ralph 3.0/
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/953ae50f-fc98-48e4-a123-c0cb77b918a4n%40googlegroups.com.

Reply via email to