trapeze/fancy_tag — pull request #4 by jaap3 (2012-10-29 10:24:20+00:00)
Title: Fail silently on resolving variables, falling back to settings.TEMPLATE_STRING_IF_INVALID

Currently fancy_tag raises really hard to debug VariableDoesNotExist exceptions when looking up variables that are not available in the context.

Falling back to settings.TEMPLATE_STRING_IF_INVALID is much more user friendly. This requires tag authors to check their input values, but at least VariableDoesNotExist are now recoverable (by modifying the template tags).

Added tox to run the tests on multiple Python/Django versions at once, and changed the test settings so Django 1.4 can also be tested.

Updated some text files to note the changes made in this pull request, and updated the copyright year.

Changed the version number to 0.2.0 to signify serious change in behavior. Although I don't think anybody is relying on VariableDoesNotExist being raised.

Hope you can pull this (and release it). It's been an issue that has been mystifying some of the developers over here for a long time :).