On Wed, Sep 8, 2010 at 04:27, Erskine <ggreen...@hotmail.com> wrote:

> After much gnashing of teeth and having looked over the code dozens of
> times I finally realized I was missing one wretched little comma in
> the HttpResponseRedirect return argument.
>

heh. The archetypal "welcome to coding" bug headfsck. I still remember my
first. Damn they suck.


 On Sep 7, 1:26 pm, David De La Harpe Golden
> <david.delaharpe.gol...@ichec.ie> wrote:
> > 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<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
These simple functions belong to a sub-class known as strictly dominating
functions, meaning that their output is always bigger than their inputs. A
striking fact, known as the complementation theorem, holds for all such
functions. It says there is always an infinite collection of inputs that
when fed into the function will produce a collection of outputs that is
precisely the non-inputs.
- http://bit.ly/d3Fsrw

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