Skip to main content

A simple Django app to preview rendered templates in your browser.

Project description

Template Preview

Template Preview is a simple Django app to preview Django-rendered templates within a browser.
For example, if you send emails from Django, this is a quick and easy way to see your changes,
without needing to constantly be sending yourself emails.

Quick start

1. Add "template_preview" to your INSTALLED_APPS setting like this::


2. Include the template_preview URLconf in your project like this::

url(r'^template_preview/', include('template_preview.urls')),

Note: you might to only register this app/urls when DEBUG is set to True

3. Start the development server and visit
to view a list of your registered templates

4. Click on a template name to view a form containing all of your template variables

5. Provide any values you'd like to see in the rendered template.

6. Click "Render" and your rendered template will appear in a modal.

Project details

Download files

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

Files for django-template-preview, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size django_template_preview-0.1.5-py2-none-any.whl (217.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size django-template-preview-0.1.5.tar.gz (207.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page