Simple email confirmation application.
Project description
Simple email confirmation application for django 1.4. Forked from django-email-confirmation
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
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
File details
Details for the file django-confirmanager-0.4.zip
.
File metadata
- Download URL: django-confirmanager-0.4.zip
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae1d9ef8215025cd36c404ff09a18acb1d6a25da8d53f0b8dd01d3fab5ad70f |
|
MD5 | 669af2440454455d6e88dccfedad38c8 |
|
BLAKE2b-256 | 82f7da29799d21a772d8f6b67ca392be7c3b4c8543d6e5d7e61e8f52819b7666 |