Should nonexistent template filter arguments raise an exception? Current behavior:
{{ value|filter:nonexistent_template_var}} raises VariableDoesNotExist for nonexistent_template_var. I guess the proposal would be to make nonexistent_tempatle_var resolve to string_if_invalid. As for me, I think the current behavior is less error prone. Related tickets: https://code.djangoproject.com/ticket/13167 This was first closed incorrectly as "fixed" by Jacob (actually a different issue was fixed), then amended as wontfix by Karen with the note, "I'm fine with wontfixing that, though it does rather seem to go against "template errors don't raise exceptions" philosophy." https://code.djangoproject.com/ticket/28172 A follow up ticket requesting the same thing as #13167. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/02727bd0-5a67-4cf9-9c3f-b0a0a7ea0a3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.