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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page