django-html-cleaner
===================

.. figure:: https://travis-ci.org/cndreisbach/django-html-cleaner.png?branch=master
   :alt: travis image

Django text and character fields that clean HTML input.

Quickstart
----------

Install django-html-cleaner:

.. code:: sh

    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:

.. code:: python

    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.
