Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 662 Bytes

django-email-auth: email_auth

The email_auth application adds e-mail login capabilities to Django.


In your settings file:

Add email_auth to INSTALLED_APPS Add email_auth.backends.EmailBackend to AUTHENTICATION_BACKENDS

Replace all usage of django.contrib.auth.forms.AuthenticationForm with email_auth.forms.AuthenticationForm.

For example, you could add this to your root

import email_auth.forms.AuthenticationForm

urlpatterns += patterns('',
     {'authentication_form': email_auth.forms.AuthenticationForm }