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::
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.
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.
Project details
Release history Release notifications | RSS feed
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-preview-0.1.5.tar.gz
(207.7 kB
view hashes)
Built Distribution
Close
Hashes for django-template-preview-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 558745294487b19349675eb3269def86ac74081b8c2d003aeeea456bd00d3dbd |
|
MD5 | ef5ba741cf4f49004b935216aab43fa4 |
|
BLAKE2b-256 | e5c633fd887b998c8d3ea32cccb292587bc3451fdecb8d453cb916a1ccd953f1 |
Close
Hashes for django_template_preview-0.1.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8752800818ebfd2434874fb4c1a49de698195abeeba2210e65708d6fddb805eb |
|
MD5 | 77a80fe99274efbaa5f908457912f3ea |
|
BLAKE2b-256 | ed9c90ff08060dbced7a30161e364adaa0238c59f137e8990d57b12de35ba594 |