Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
Registration and Login with Email address for Django
=========================================================

---------
Install::
---------
To install run:
pip install hg+https://bitbucket.org/lzantal/django-emailauth

Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
        'django.contrib.auth',
        'django.contrib.sites',
        'emailauth',
        # ...other installed applications...
)

Add it to your project urls:
(r'^emailauth/', include('emailauth.urls')),

---------------
Configuration::
---------------

Registration:
-------------

If you don't want free email signups set this to True,
defaults to False
EMAILAUTH_NO_FREE_EMAIL = True/False

If you don't want users to register set this to False 
defaults to True
EMAILAUTH_REGISTER_OPEN = True/False

Where to redirect after registering
defaults to 'emailauth-register-complete'
EMAILAUTH_REGISTER_REDIRECT = 'url-name'

Where to redirect if the registration is closed
defaults to 'emailauth-register-closed'
EMAILAUTH_REGISTER_CLOSED_REDIRECT = 'url-name'

Login:
------

If you don't want users to login set this to False 
defaults to True
EMAILAUTH_LOGIN_OPEN = True/False

Where to redirect if the login is closed
defaults to 'emailauth-login-closed'
EMAILAUTH_LOGIN_CLOSED_REDIRECT = 'ur-name'

Where to redirect after login
defaults to 'emailauth-login-complete'
EMAILAUTH_LOGIN_REDIRECT = 'url-name'

Where to redirect after login
defaults to 'emailauth-logout'
EMAILAUTH_LOGOUT_REDIRECT = 'url-name'


Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.