Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve --fail-on-template-vars: use origin if available #470

Merged
merged 2 commits into from
May 16, 2017

Commits on Apr 17, 2017

  1. Improve --fail-on-template-vars: use origin if available

    This will be there with Django 1.9+ always, and in case of
    `settings.TEMPLATE_DEBUG` before.
    It stops going up to the Template, but uses the nearest location (which
    is required when extending templates).
    
    Using `django.template.base.Origin` also gives the benefit of having the
    full/absolute path.
    blueyed committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    92e29db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    369e519 View commit details
    Browse the repository at this point in the history