django-simple-petitions /

Filename Size Date modified Message
doc
petitions
39 B
48 B
211 B
1.1 KB
131 B
1.1 KB
1.2 KB

Pluggable app to manage petitions in a Django project.

This app lets you easily create petitions that can be subscribed by users visiting your site.

Moderation and comment features are supported, as well as templates customization and captcha (using the external tool django-simple-captcha hosted by http://code.google.com/p/django-simple-captcha/).

Installation

This app requires Python >= 2.5 and Django >= 1.0.

The Mercurial repository of the application can be cloned with this command:

hg clone https://frankban@bitbucket.org/frankban/django-simple-petitions

The petitions package, included in the distribution, should be placed on the PYTHONPATH.

To enable captcha support, you just have to pip install django-simple-captcha.

Usage

Add 'petitions' to your settings.INSTALLED_APPS.

Add the app urls to your urls.py, e.g.:

(r'^petitions/', include('petitions.urls')),

Sync your database adding petitions tables:

./manage.py syncdb

Done! Go to the admin site and create your own petitions.