Skip to main content

django-static-templates provides a management command to render Django templats as static files.

Project description

Latest Version Coverage Status Documentation Status https://travis-ci.org/moccu/django-static-templates.svg?branch=master

django-static-templates provides a management command to render Django templats as static files. Example usage might be static error pages to delivered by your reverse proxy if the Django applications dies.

Features

  • Management command render_static_templates to create static files in your STATIC_ROOT.

  • Helpers to render templates as static files

Requirements

django-static-templates supports Python 3 only and requires at least Django 1.11.

Prepare for development

A Python 3.6 interpreter is required in addition to pipenv.

$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .

Now you’re ready to run the tests:

$ pipenv run py.test

Resources

Project details


Download files

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

Source Distribution

django-static-templates-0.0.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

django_static_templates-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file django-static-templates-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-static-templates-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e849489f3e70ee36bbafba69cafecc20411b57f1ab0548407d02399ce04b692f
MD5 0d8a7ad335a33297f2a7474a87149b41
BLAKE2b-256 9d6df9fe52c9c78374d65364105d56a14261d776a50dec282a2a067522dc168e

See more details on using hashes here.

File details

Details for the file django_static_templates-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_static_templates-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6c2d59b3ea2200777c5e75a505a723998328db2a36b26b38c047bb0dda8a2f
MD5 a4142fc73bdde0d300f8ca8084e3705f
BLAKE2b-256 1f60d452cf69c053c257e54b943ae1c8ba332b8ea06ef1d42abf7e0c898e1230

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page