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.

Release files for django-html-cleaner 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-html-cleaner 0.2.5
File Size Uploaded
django-html-cleaner-0.2.5.tar.gz 5.3 kB Details

Release files / django-html-cleaner-0.2.5.tar.gz

Download URL django-html-cleaner-0.2.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7f6269a374d08a5f1d37d4deef94fe86103fa6b1868139a8d58c67bb6fd08f0e
BLAKE2b-256 checksum
How to use checksums
bd9ed1208522bc7907279d42996a33a319644557a597dd7a4ed1c8be63b26c17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.5 This release

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release 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