django_secureform

Provides protection against spammers and scammers
Download

django_secureform Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Ben Timby
  • Publisher web site:
  • http://code.google.com/u/btimby@gmail.com/

django_secureform Tags


django_secureform Description

django_secureform is a Django app that provides protection against spammers and scammers.InstallationInstall using pip pip install django-secureformThen install the application into your Django project in settings.py. There are also optional settings which will affect the behavior of SecureForm instances.INSTALLED_APPS += ('django_secureform', )# If you wish to use an encryption key other than Django's SECRET_KEYSECUREFORM_CRYPT_KEY = 'super-secret encryption key'# This is the name of the hidden field added to the form to contain# security data.SECUREFORM_FIELD_NAME = 'foobar'# The number of seconds allowed between form rendering and submittal.SECUREFORM_TTL = 300# The number of honeypot fields added to the form.SECUREFORM_HONEYPOTS = 1# By default, jQuery is needed to hide honeypots. If you already# use jQuery in your app, you can disable this feature (preventing# a duplicate script reference to jQuery).SECUREFORM_INCLUDE_JQUERY = FalseUsagefrom django_secureform.forms import SecureForm# Define your form class as usual.class MySecureForm(SecureForm): class Meta: # Override options in settings.py for this class. include_jquery = False name = forms.CharField()Product's homepage


django_secureform Related Software