Overview

Intro

Sites nowadays let users use their emails to authenticate. This provides the backends, forms and views to easily plug in such a registration process.

Requirements

Django 1.2 django-registration 0.8 or later

Install

Add these settings:

AUTHENTICATION_BACKENDS = (
'email_login.backends.AuthBackend', 'django.contrib.auth.backends.ModelBackend',

)

REGISTRATION_BACKEND = 'email_login.backends.RegistrationBackend'

Include these route your root URLs

url(r'^accounts/', include('email_login.urls')),