CLI tool to render django template files
Project description
Installation
$ [sudo] pip install django-template-cli
How it works
index.html
context.json (optional)
Examples
index.html
:
{% for v in values %}
{{ forloop.counter0 }}: {{ v }}
{% endfor %}
context.json
:
{
"values": ["value1","value2","value3"]
}
$ django-template-cli index.html
0: value1
1: value2
2: value3
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
Close
Hashes for django-template-cli-2020.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c352286398ba8cf6953e60b29eeba9c3acb9d8a7db2ec92a8dd162c35a47e1c8 |
|
MD5 | 55e12b4359b656e21408ab437e04159f |
|
BLAKE2b-256 | a51847fe11ca10eda756910162ec0f3b347085dcfa24fb2e57975d58cbdef6ec |