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 details)

Uploaded Source

File details

Details for the file django-template-repl-0.1.tar.gz.

File metadata

File hashes

Hashes for django-template-repl-0.1.tar.gz
Algorithm Hash digest
SHA256 cd64f19b63514fadffb6b8dd592415f47423463f057fdcedc2972c7905e86c2f
MD5 bae7e7a7905eaabd0f4278dd09f11c74
BLAKE2b-256 9b1862a2eda1d39b443f9cd22738e63307283dc97c6b656cb64dc63182ae1636

See more details on using hashes here.

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