Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 732 Bytes

setup.rst

File metadata and controls

24 lines (17 loc) · 732 Bytes

Setup

  1. Get the source from the Git repository or install it from the Python Package Index by running pip install django-bleach.
  2. Add django_bleach to the INSTALLED_APPS setting:

    INSTALLED_APPS += (
        'django_bleach',
    )
  3. Configure django_bleach. It comes with some sensible defaults, but you will probably want to tweak the settings for your application. See the settings page for more information
  4. Add a django_bleach.models.BleachField to a model, a django_bleach.forms.BleachField to a form, or use the bleach template filter in your templates.