Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-html-cleaner-0.2.5.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Mar 22, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page