Skip to content
Simple email confirmation application
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
confirmanager
test_app
.coveragerc
.gitignore
.travis.yml
AUTHORS
LICENCE.txt
MANIFEST.in
README.rst
manage.py
setup.py
tox.ini

README.rst

Simple email confirmation application for django 1.4. Forked from django-email-confirmation

https://travis-ci.org/futurecolors/django-confirmanager.png?branch=master https://coveralls.io/repos/futurecolors/django-confirmanager/badge.png?branch=master

Install

Add 'confirmanager' to your INSTALLED_APPS:

# settings.py
INSTALLED_APPS = (
    ...
    'confirmanager',
    ...
)

Add application urs to your urlconf. Example:

# urls.py
urlpatterns += patterns('',
    (r'', include('confirmanager.urls')),
)

Requires django.contrib.sites to get absolute url and and user model to save email.

Description

TBD, meanwhile you can read source.

Limitations

  • one email per user
  • emails are stored in user model
  • emails are sent via django-templated-email (templates/confirmanager/confirmation.html)

Settings

  • CONFIRMANAGER_EXPIRES (default 3) - how long links for email confirmation live
  • CONFIRMANAGER_REDIRECT_URL - where to redirect after email is confirmed
  • CONFIRMANAGER_LOGIN_URL - where to redirect if user is not authenticated
  • CONFIRMANAGER_GET_DOMAIN - override default django.contrib.sites behavior to get current domain
  • CONFIRMANAGER_UNIQUE_EMAILS (defaut True) - extra check for unique emails

Signals

  • email_confirmed

TODO

  • Make evertything easily overridable (docs for manager, template)
  • django-appconf
  • Django 1.5
Something went wrong with that request. Please try again.