http://binarymanipulations.com:8157/polls/1/vote/ displays the Poll's
title and all of the poll's choices correctly - start from there

Sorry for the weak answer, but its pretty late.  I did notice an error
with your form in poll_detail (http://binarymanipulations.com:8157/
polls/1/) - <form action="/polls//vote/" method="post"> should be
<form action="/polls/{{ poll.id }}/vote/" method="post">

On Apr 13, 1:23 pm, "Evan H. Carmi" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I am running django 0.95. I am going through the tutorial. My problem is
>  this:
>
> I have 4 polls. If I run python manage.py shell and Poll.objects.all()
> it shows them. Unfortunately when I go mysite/polls
> (http://binarymanipulations.com:8157/polls/) it says "No polls are
> available." Also if I go to mysite/polls/1
> (http://binarymanipulations.com:8157/polls/1/) it shows a vote box but
> no options.
>
> My views.py ishttp://dpaste.com/8413/
> and template for poll_list.htmlhttp://dpaste.com/8414/
>
> If anyone can tell me where my grievous error is, I would be very happy.
> I have asked a little on #django but to no avail.
>
> Thanks,
> Evan


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

Reply via email to