Class to process Django templates outside of the full Django setup.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
.gitignore
LICENSE
README.md
contexts_example.py
template_runner.py
test_template_runner.py

README.md

TemplateRunner

A class to process Django templates outside of the full Django setup. Assumes this script is in a directory alongside a 'templates' directory containing templates ending in .dj.html. Contexts for those templates should be in contexts.py at the same level as template_runner.py (see contexts_examples.py). I wrote a blog post about this class here.