Re: Newbie Question: Django Tutorial Part 4 - Exception Issue

2014-10-01 Thread zaiks0105
e. The text of the print statement will show up > in the console where you launched `python manage.py runserver`. > > If you see the output “context: “ and the ‘error_message’ string with the > actual message, then you have a syntax mistake in your template. Otherwise > it’

Re: Newbie Question: Django Tutorial Part 4 - Exception Issue

2014-09-29 Thread zaiks0105
I do. Is that line causing the behavior? On Monday, September 29, 2014 7:15:47 AM UTC-4, Daniel Rus Morales wrote: > > Hi Zaiks0105, > > Do you have the following line in "your polls/templates/polls/detail.html”? > > {% if error_message %}{{ error_message }}{% endif

Newbie Question: Django Tutorial Part 4 - Exception Issue

2014-09-29 Thread zaiks0105
Hi, I am following Django official tutorial and have unanswered issue at part 4, https://docs.djangoproject.com/en/1.7/intro/tutorial04/. Here is the exception handling code, except (KeyError, Choice.DoesNotExist): # Redisplay the question voting form. return