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

Supported by

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