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.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

django_static_templates-0.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-static-templates-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4540e135cdb6bd472f3b8818920cb57fabe4e34497ea514c51828713f3736e5a
MD5 c7e071459d5e9ed2bef887b2be666a32
BLAKE2b-256 bc1a60cca72f2f4fcfa381cddd058fac3c5efe093ee385ee30d0ef9657da678e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_static_templates-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a23e9ce891b3150b51b4ba09cd3c3c65aad1e69d8351dc2889fcb42d0c35789
MD5 e8ffdc510105ba8836343e637d01dd64
BLAKE2b-256 e390bfd265e4459be71eef106b03aeb1be719d7f3ce052635ccacd95786410a9

See more details on using hashes here.

Supported by

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