Skip to main content

Django text and character fields that clean HTML input.

Project description

travis image

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.

Project details


Download files

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

Source Distribution

django-html-cleaner-0.2.5.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file django-html-cleaner-0.2.5.tar.gz.

File metadata

File hashes

Hashes for django-html-cleaner-0.2.5.tar.gz
Algorithm Hash digest
SHA256 7f6269a374d08a5f1d37d4deef94fe86103fa6b1868139a8d58c67bb6fd08f0e
MD5 a6161fff4b365af99c06e58e7c8bcc99
BLAKE2b-256 bd9ed1208522bc7907279d42996a33a319644557a597dd7a4ed1c8be63b26c17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page