smajda / django-nopassword

Django authentication backend using email confirmation instead of passwords

Home Page:http://relekang.github.io/django-nopassword/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-nopassword

Build status PyPi version Wheel Status Downloads Requirements Status License

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.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

About

Django authentication backend using email confirmation instead of passwords

http://relekang.github.io/django-nopassword/

License:MIT License


Languages

Language:Python 69.8%Language:JavaScript 28.9%Language:CSS 1.4%