Simple email confirmation application for django 1.4. Forked from django-email-confirmation
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.
TBD, meanwhile you can read source.
- one email per user
- emails are stored in user model
- emails are sent via django-templated-email (templates/confirmanager/confirmation.html)
- 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
- email_confirmed
- Make evertything easily overridable (docs for manager, template)
- django-appconf
- Django 1.5