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
Metadata
Release files for django-static-templates 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-static-templates-0.0.3.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_static_templates-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.3 kB
Release files / django-static-templates-0.0.3.tar.gz
| Download URL | django-static-templates-0.0.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f33b1cf66f3d3670d297e80162aaebb29b1f3f7a486f71d9ab192111cb53a713
|
|
BLAKE2b-256 checksum How to use checksums |
9d513c13cd7902b768ead38ea465640b346640e9e971cd524e151fe7535cd2e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Release files / django_static_templates-0.0.3-py3-none-any.whl
| Download URL | django_static_templates-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80fa6bc9429fcee184d26e0aac10f1658c0ceb74355abc9bf86b170e368be521
|
|
BLAKE2b-256 checksum How to use checksums |
a6020aeb5b1bcbdb998db4575015e151e61e07c17b5de4cb6f768b0074c94662
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|