django-extensions/django-extensions — pull request #262 by theospears (2012-11-16 04:19:36+00:00)
Title: Enhance validate_templates to check url tags

We are migrating our url template tags across to the new form in anticipation of Django 1.5. This patch adds functionality to the validate_templates management command such that it can point out templates we have not yet converted to the new style, or ones where we are failing to quote view names.

The code here assumes if you are using new style url tags (i.e. have done {% load url from future %} then all unquoted view name parameters to {% url %} are in error. I believe this is a reasonable assumption for people who are in the process of porting existing apps to use the new template tag format.