Re: Why doesn't Django display template line number of errors?

2009-10-07 Thread Karen Tracey
On Wed, Oct 7, 2009 at 5:38 PM, NealWalters wrote: > > Any ideas on this question from about a month ago? > It was answered. Django does display the line number, along with the line in error and surrounding lines, in the Django debug page. If Google App Engine doesn't do that (don't you get Dja

Re: Why doesn't Django display template line number of errors?

2009-10-07 Thread NealWalters
Any ideas on this question from about a month ago? Thanks, Neal --~--~-~--~~~---~--~~ 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

Re: Why doesn't Django display template line number of errors?

2009-09-11 Thread NealWalters
Maybe on Google App Engine there is no error line? Here's an example of an "endif" insteaf of an "endifequal". Neal Traceback (most recent call last): File "c:\Program Files\Google\google_appengine\google\appengine\ext \webapp\__init__.py", line 501, in __call__ handler.get(*groups) Fil

Re: Why doesn't Django display template line number of errors?

2009-09-10 Thread Tim
It does show line numbers. Scroll down past the yellow section on the error page, and it will show you the line numbers, the line with the error, and the lines surrounding it. It should also say something like "In template /Users/tim/Sites/ website/templates/base.html, error at line 73" --~--~---

Why doesn't Django display template line number of errors?

2009-09-10 Thread NealWalters
It's not always a problem, but sometimes it's tricky to find the bad "end" or mismatched Django tag. Why doesn't Django give you the line number where the error is encountered within the template? Is this on the wishlist already? TemplateSyntaxError: Invalid block tag: 'end' In other words, the