Skip to main content

Find out what context variables are expected by a Django Template

Project description

Usage::

>>> from djtemplateinspector import get_variables
>>> from django.template import Template
>>> tmpl = Template("Welcome, {{ user }}!")
>>> get_variables(tmpl)
["user"]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-templateinspector, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-templateinspector-0.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page