Re: Writing your first Django app, part 4

2017-03-06 Thread friscosoftware
Duh, thanks, I must have missed that step in the tutorial. Works great now. On Sunday, March 5, 2017 at 8:02:44 AM UTC-7, ludovic coues wrote: > > You didn't share your code, so all we can do is guess. > My guess is that your poll don't have any answer so there is nothing to > render. > > Tr

Re: Writing your first Django app, part 4

2017-03-05 Thread ludovic coues
You didn't share your code, so all we can do is guess. My guess is that your poll don't have any answer so there is nothing to render. Try using this form: {{ question.question_text }} {% if error_message %}{{ error_message }}{% endif %} {% csrf_token %} {% for choice in question.choice_set.al

Re: Writing your first Django app, part 4 - 'CSRF token missing or incorrect.'

2010-01-20 Thread rolo
Karen you're a darling thank you so much. That is indeed what i did, I checked out the Dev version and somehow I ended up at the 1.1 docs. Thanks! On Jan 21, 6:28 am, Karen Tracey wrote: > On Wed, Jan 20, 2010 at 3:10 PM, rolo wrote: > > [snip] > > Everything worked beautifully(the docs are very

Re: Writing your first Django app, part 4 - 'CSRF token missing or incorrect.'

2010-01-20 Thread Karen Tracey
On Wed, Jan 20, 2010 at 3:10 PM, rolo wrote: > [snip] > Everything worked beautifully(the docs are very nice), until I reached > the 4th and last part. (http://docs.djangoproject.com/en/1.1/intro/ > tutorial04/ ) > > - I updated the "poll