Django Profanity Check

screenshot of Django Profanity Check

A Django template filter that wraps around profanity-check

Overview:

The django-profanity-check is a Django template filter that wraps around the profanity-check Python package. It allows users to easily filter out any profane or inappropriate language in their Django templates.

Features:

  • Easy Installation: Can be installed with pip and added to the INSTALLED_APPS.
  • Efficient Profanity Filtering: Uses the profanity-check Python package, which is known for its accuracy in detecting profane language.
  • Customization Options: Allows users to specify custom replacement characters and character lengths for filtering out profanity.
  • Template Testing: Provides the option for template tests to ensure the filter is functioning correctly.

Summary:

In summary, django-profanity-check is a useful Django template filter that integrates the profanity-check Python package for efficiently filtering out profane language in Django templates. It is easy to install and provides customization options for replacing profane words. Additionally, it offers template testing functionality to ensure the filter is working correctly.