django-static-templates provides a management command to render Django templats as static files.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-static-templates-0.0.3.tar.gz.
File metadata
- Download URL: django-static-templates-0.0.3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f33b1cf66f3d3670d297e80162aaebb29b1f3f7a486f71d9ab192111cb53a713
|
|
| MD5 |
f32c8ed9a5c089e25d4eb03686d1a9bd
|
|
| BLAKE2b-256 |
9d513c13cd7902b768ead38ea465640b346640e9e971cd524e151fe7535cd2e5
|
File details
Details for the file django_static_templates-0.0.3-py3-none-any.whl.
File metadata
- Download URL: django_static_templates-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80fa6bc9429fcee184d26e0aac10f1658c0ceb74355abc9bf86b170e368be521
|
|
| MD5 |
2565e67e1d82bb0f56ef3de92ee22d7c
|
|
| BLAKE2b-256 |
a6020aeb5b1bcbdb998db4575015e151e61e07c17b5de4cb6f768b0074c94662
|