django-collapse-whitespace-templatetag
A simple whitespace-collapsing template tag for Django - useful for formatting plain text emails or when whitespace actually matters.
Installation
Install to PYTHONPATH, etc.
Then either:
Add collapse_whitespace_templatetag to settings.INSTALLED_APPS and then use:
{% load collapse_whitespace_templatetag %}… in your templates.
Or:
Add collapse_whitespace_templatetag.templatetags.collapse_whitespace to your BUILTINS entry in settings.TEMPLATES (Django 1.9)
Or:
Add to builtins (< Django 1.9) with in some models.py:
from django.template.base import add_to_builtins add_to_builtins('collapse_whitespace_templatetag.templatetags.collapse_whitespace'
Metadata
Release files for django-collapse-whitespace-templatetag 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-collapse-whitespace-templatetag-1.0.2.tar.gz | 2.7 kB | Without provenance | Details |
Release files / django-collapse-whitespace-templatetag-1.0.2.tar.gz
| Download URL | django-collapse-whitespace-templatetag-1.0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e15ffb426a077c40ce9f9ffd64c39035c3f82b48936339f78664a7c757efaab3
|
|
BLAKE2b-256 checksum How to use checksums |
f66e17b926aad369e8a089a64602b78364fa4063a4b1d5b392a7637b9f515d22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-collapse-whitespace-templatetag 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.