Django text and character fields that clean HTML input.
Quickstart
Install django-html-cleaner:
pip install django-html-cleaner
Then enable it in a Django project by adding django_html_cleaner to your INSTALLED_APPS in your Django settings.
Then use it:
from django_html_cleaner.models import SanitizedTextField
# in a Django model
field = SanitizedTextField()
Documentation
The full documentation is at https://django-html-cleaner.readthedocs.org.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-html-cleaner-0.2.5.tar.gz.
File metadata
- Download URL: django-html-cleaner-0.2.5.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f6269a374d08a5f1d37d4deef94fe86103fa6b1868139a8d58c67bb6fd08f0e
|
|
| MD5 |
a6161fff4b365af99c06e58e7c8bcc99
|
|
| BLAKE2b-256 |
bd9ed1208522bc7907279d42996a33a319644557a597dd7a4ed1c8be63b26c17
|