Skip to main content

A readline shell for the Django template language.

Project description

django-template-repl is a readline shell for the Django template language.
It is similar to a cpython shell but it interprets template code instead of
python. It can be invoked either as a management comment or within another
template for debugging.

To install, add 'template_repl' to your settings.INSTALLED_APPS.

The management command gives you quick access to the shell:
python manage.py templateshell

Or, add this to your template and it will create a REPL that assumes the
context of the caller template. This is sort of like "PDB for templates":
{% load repl %}{% repl %}

Project details


Download files

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

Source Distribution

django-template-repl-0.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page