Metadata-Version: 2.1
Name: django-template-preview
Version: 0.1.5
Summary: A simple Django app to preview rendered templates in your browser.
Home-page: https://github.com/crolfe/django-template-preview/
Author: Colin Rolfe
License: BSD License
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
License-File: LICENSE

=====
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::

    INSTALLED_APPS = [
        ...
        'template_preview',
    ]

2. Include the template_preview URLconf in your project urls.py 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 http://127.0.0.1:8000/template_preview/
    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.
