ReCAPTCHA Mailhide is an app for hiding mails from spammers. To use with Django templates.
Install using PIP
pip install django-recaptcha-mailhide
Add "recaptcha-mailhide" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'recaptcha_mailhide', ) MAILHIDE_PUBLIC_KEY = "XXX" MAILHIDE_PRIVATE_KEY = "XXX"
You can obtain public and private key for free via http://www.google.com/recaptcha/mailhide/apikey
First load it in Django template and use it as a filter.
{% load mailhide %} You can mail me at {{ "example@example"|mailhide }}
Adapted from https://github.com/jbzdak/django-mailhide