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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-static-templates-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f33b1cf66f3d3670d297e80162aaebb29b1f3f7a486f71d9ab192111cb53a713
MD5 f32c8ed9a5c089e25d4eb03686d1a9bd
BLAKE2b-256 9d513c13cd7902b768ead38ea465640b346640e9e971cd524e151fe7535cd2e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_static_templates-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80fa6bc9429fcee184d26e0aac10f1658c0ceb74355abc9bf86b170e368be521
MD5 2565e67e1d82bb0f56ef3de92ee22d7c
BLAKE2b-256 a6020aeb5b1bcbdb998db4575015e151e61e07c17b5de4cb6f768b0074c94662

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