Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django template renderer for designers

Project Description

Allow designers to work on your templates without having to run the Django development server, database etc.

Designer’s workflow:

  1. Pulls repo
  2. Edits template, makes it look pretty
  3. Runs manage.py command to render template and produce html file
  4. Points browser to file
  5. Views pretty rendered template in browser
  6. Repeats steps 2 and 3, refreshes browser
  7. Commits and pushes pretty templates

Note: To state the obvious, context variables are not rendered on page. View functions are not called. Context variables are often not needed when a desinger is viewing templates for design purposes.

Install

Install package:

pip install django-designer

Usage

Run:

$ ./manage.py render_template your_app/templates/home.html
file:///Users/you/Projects/your_project/your_app/templates/home_rendered.html

Copy-paste output into browser address bar and view rendered template.

Recommend you add *_rendered.html to your .gitignore.

Release History

Release History

This version
History Node

0.2.1

History Node

0.2

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-designer-0.2.1.tar.gz (1.9 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting