skip to navigation
skip to content

Not Logged In

django-nopassword 2.1.0

Authentication backend for django that uses a one time code instead of passwords

This project was originally inspired by Is it time for password-less login? by Ben Brown

Installation

Run this command to install django-nopassword

pip install django-nopassword

Requirements

Django >= 1.4 (1.5 custom user is supported)

Usage

Add the app to installed apps

INSTALLED_APPS = (
    ...
    'nopassword',
    ...
)

Set the authentication backend to EmailBackend

AUTHENTICATION_BACKENDS = ( 'nopassword.backends.email.EmailBackend', )

Add urls to your urls.py

urlpatterns = patterns('',
    ...
    url(r'^accounts/', include('nopassword.urls')),
    ...
)

Settings

Information about the available settings can be found in the docs

Tests

Run with python setup.py test. To run with sqlite add USE_SQLITE = True in tests/local.py


MIT © Rolf Erik Lekang

 
File Type Py Version Uploaded on Size
django_nopassword-2.1.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2015-08-12 17KB
  • Downloads (All Versions):
  • 36 downloads in the last day
  • 360 downloads in the last week
  • 2849 downloads in the last month