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

Project details


Download files

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

Files for django-static-templates, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_static_templates-0.0.2-py3-none-any.whl (5.4 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size django-static-templates-0.0.2.tar.gz (4.5 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