Skip to main content

CLI tool to render django template files

Project description

Installation

$ [sudo] pip install django-template-cli

How it works

index.html
context.json (optional)

Executable modules

usage __doc__
python -m django_template_cli path render django template file

Scripts usage

command usage
django-template-cli usage: django-template-cli path

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

django-readme-generator

Project details


Release history Release notifications

Download files

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

Files for django-template-cli, version 2019.6.25
Filename, size File type Python version Upload date Hashes
Filename, size django-template-cli-2019.6.25.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page