Django logs warnings for missing variables. I believe this logging was
added since that ticket was closed.
I recently wrote a blog post with some techniques you can use to hook into
this logging and turn those errors into exceptions:
I was struggeling with a get query that just wouldn't throw any exceptions.
Then I stubled about this:
https://code.djangoproject.com/ticket/11909
I'm so sorry about the rude request in there, but it would be really
helpful to allow for a "strict mode" in templates where errors get thrown
to