Skip to main content

Simple email confirmation application.

Project description

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

https://travis-ci.org/futurecolors/django-confirmanager.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

Signals

  • email_confirmed

TODO

  • Make evertything easily overridable (docs for manager, template)

  • django-appconf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-confirmanager-0.1.3.zip (19.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page