From c0f7f344f3dead47d2362f4d15d218ba2d956369 Mon Sep 17 00:00:00 2001 From: maccesch Date: Sat, 4 Sep 2010 18:46:27 +0200 Subject: [PATCH] Tiny adjustments to docs and template --- .gitignore | 3 +++ README.rst | 4 ++++ cmsplugin_contact/templates/cmsplugin_contact/contact.html | 6 +----- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index de461bc..f079f3e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ DS_STORE .project .pydevproject .settings +build +dist +cmsplugin_contact.egg-info diff --git a/README.rst b/README.rst index 8b4828e..7fabd97 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,8 @@ Django CMS Contact Form Plugin Contact form plugin for `Django CMS `_ with spam protection and i18n. +Spam protection is done through `glamkit-stopspam `_ which provides three different protection methods. + If you want to use ReCAPTCHA you have to get a Public and Private Key from http://www.google.com/recaptcha. You can get them for free. The Akismet spam protection method requires an Aksimet API Key which is obtainable from http://akismet.com/ For private persons this is free, too. @@ -38,6 +40,8 @@ You can simply type into a terminal ``pip install cmsplugin-contact`` or ``easy_ Manual Download --------------- +You can download a zipped archive from http://github.com/maccesch/cmsplugin-contact/downloads. + Unzip the file you downloaded. Then go in your terminal and ``cd`` into the unpacked folder. Then type ``python setup.py install`` in your terminal. Put "cmsplugin_contact" in your ``INSTALLED_APPS`` section in settings.py. Don't forget to syncdb your database. diff --git a/cmsplugin_contact/templates/cmsplugin_contact/contact.html b/cmsplugin_contact/templates/cmsplugin_contact/contact.html index 064c16e..6e68112 100644 --- a/cmsplugin_contact/templates/cmsplugin_contact/contact.html +++ b/cmsplugin_contact/templates/cmsplugin_contact/contact.html @@ -30,7 +30,6 @@ {% endif %}

{% if form.recaptcha_challenge_field %} - {% autoescape off %}

{{ form.recaptcha_challenge_field }} {% if form.recaptcha_theme == "custom" %} @@ -62,16 +61,13 @@ {% endfor %} {% endif %}

- {% endautoescape %} {% endif %} {% if form.accept_terms %} - {% autoescape off %} {{ form.accept_terms }} - {% endautoescape %} {% endif %}

- +

{% csrf_token %}