djangosnippets.org: Latest snippets posted by kidzikhttps://djangosnippets.org/users/kidzik/2011-06-13T15:29:14.060760-05:00kidzikUse email addresses for user name for django 1.3
2011-06-13T15:29:14.060760-05:00kidzikhttps://djangosnippets.org/snippets/2463/<p><a href="http://djangosnippets.org/snippets/1845/">Chris' code</a> adapted to django 1.3. Basicly E-mail authorisation backend.</p>
<p>Put it as one of your AUTHENTICATION_BACKENDS in settings.py:</p>
<pre><code>AUTHENTICATION_BACKENDS = (
'community.auth.EmailBackend',
)
</code></pre>
Freely redistributable