django-nopassword
Posted 28.09.2012 · 1 min readSome weeks ago I read a blog post by Ben Brown about password less login. I wanted to learn more about custom authentication in Django and I thought that implementing password less login would be good way to learn.
Installation
Run this command to install django-nopassword
pip install django-nopassword
Usage
Add the app to installed apps
INSTALLED_APPS = ( ... 'nopassword', ...)
Set the authentication backend to EmailBackend
AUTHENTICATION_BACKENDS = ( 'nopassword.backends.EmailBackend',)
Add urls to your urls.py
urlpatterns = patterns('', ... url(r'^accounts/', include('nopassword.urls')), ...)
#django, #no-password, #email-authentication, #authentication