Skip to main content
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.

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.

Release history Release notifications | RSS feed

This release

0.2.5 This release

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page