Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 138de533ff677b470a1e7b4b6ff084a5b7a7444b
      
https://github.com/django/django/commit/138de533ff677b470a1e7b4b6ff084a5b7a7444b
  Author: Michael van Tellingen <michaelvantellin...@gmail.com>
  Date:   2013-02-14 (Thu, 14 Feb 2013)

  Changed paths:
    M django/template/base.py
    M django/template/debug.py
    M tests/regressiontests/templates/parser.py

  Log Message:
  -----------
  Fixed #19819 - Improved template filter errors handling.

Wrap the Parser.compile_filter method call with a try/except and call the
newly added Parser.compile_filter_error(). Overwrite this method in the
DebugParser to throw the correct error.

Since this error was otherwise catched by the compile_function try/except
block the debugger highlighted the wrong line.



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to