I think my post got lost last night... So here's my question again: ----- Original Message ----- From: django-users@googlegroups.com <django-users@googlegroups.com> To: Django users <django-users@googlegroups.com> Sent: Mon Jul 23 20:53:49 2007 Subject: Trouble with last bit of Tutorial
I'm trying to put the last bit on the tutorial. I'm running django 0.96 on ubuntu, and I got stuck here: Did I replace every instance of poll with object correctly in my poll_detail.html template? When I view it, it show the question, and the button below, but no choices. Have I done something wrong? <h1>{{ object.question }}</h1> {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %} <form action="/polls/{{ object.id }}/vote/" method="post"> {% for choice in object.choice_set.all %} <input type="radio" name="choice" id="choice{{ forloop.counter }}" value="{{ choice.id }}" /> <label for="choice{{ forloop.counter }}">{{ choice.choice }}</ label><br /> {% endfor %} <input type="submit" value="Vote" /> </form> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---