On 07/09/10 16:44, Erskine wrote:
> I've spent a few days working through the First App tutorial, and have
> mostly got everything working, but I haven't been able to figure out
> why I'm getting an extra slash appended after 'polls' when clicking on
> the name of the poll 

> The current URL, polls//, didn't match any of these.
> 

Probably you've got a typo in one of your templates, a bit
that generates the link to the poll i.e. somewhere you're supposed
to have some link like

<a href="polls/{{ poll.id }}/">

... but if the bit in {{ }} evaluated to nothing instead
of the id of a poll, you'd get "polls//", you see.
That could happen if you typed "pole.id" instead of "poll.id", say.







-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to