Authentication backend for django that uses a one time code instead of passwords
Project description
# django-nopassword
[![Build status](https://ci.frigg.io/badges/relekang/django-nopassword/)](https://ci.frigg.io/relekang/django-nopassword/)
[![PyPi version](https://pypip.in/v/django-nopassword/badge.png)](https://crate.io/packages/django-nopassword/)
[![Wheel Status](https://pypip.in/wheel/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
[![Downloads](https://pypip.in/download/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
[![Requirements Status](https://requires.io/github/relekang/django-nopassword/requirements.svg?branch=master)](https://requires.io/github/relekang/django-nopassword/requirements/?branch=master)
[![License](https://pypip.in/license/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
This project was originally inspired by [Is it time for password-less login?](http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login) by [Ben Brown](http://twitter.com/benbrown)
## 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
```python
INSTALLED_APPS = (
...
'nopassword',
...
)
```
Set the authentication backend to *EmailBackend*
AUTHENTICATION_BACKENDS = ( 'nopassword.backends.EmailBackend', )
Add urls to your *urls.py*
```python
urlpatterns = patterns('',
...
url(r'^accounts/', include('nopassword.urls')),
...
)
```
### Settings
Information about the available settings can be found in the [docs](http://django-nopassword.readthedocs.org/en/latest/#settings)
## Tests
Run with `python setup.py test`.
To run with sqlite add `USE_SQLITE = True` in tests/local.py
--------
MIT © Rolf Erik Lekang
[![Build status](https://ci.frigg.io/badges/relekang/django-nopassword/)](https://ci.frigg.io/relekang/django-nopassword/)
[![PyPi version](https://pypip.in/v/django-nopassword/badge.png)](https://crate.io/packages/django-nopassword/)
[![Wheel Status](https://pypip.in/wheel/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
[![Downloads](https://pypip.in/download/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
[![Requirements Status](https://requires.io/github/relekang/django-nopassword/requirements.svg?branch=master)](https://requires.io/github/relekang/django-nopassword/requirements/?branch=master)
[![License](https://pypip.in/license/django-nopassword/badge.svg)](https://pypi.python.org/pypi/django-nopassword/)
This project was originally inspired by [Is it time for password-less login?](http://notes.xoxco.com/post/27999787765/is-it-time-for-password-less-login) by [Ben Brown](http://twitter.com/benbrown)
## 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
```python
INSTALLED_APPS = (
...
'nopassword',
...
)
```
Set the authentication backend to *EmailBackend*
AUTHENTICATION_BACKENDS = ( 'nopassword.backends.EmailBackend', )
Add urls to your *urls.py*
```python
urlpatterns = patterns('',
...
url(r'^accounts/', include('nopassword.urls')),
...
)
```
### Settings
Information about the available settings can be found in the [docs](http://django-nopassword.readthedocs.org/en/latest/#settings)
## Tests
Run with `python setup.py test`.
To run with sqlite add `USE_SQLITE = True` in tests/local.py
--------
MIT © Rolf Erik Lekang
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-nopassword-1.3.1.tar.gz
(21.4 kB
view hashes)
Built Distribution
Close
Hashes for django_nopassword-1.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 462c301995db83969017ebf8c341504d553b6a4161c3c8c334c06c29d4f77ac2 |
|
MD5 | 52c2c32ebd47d18a9aec016f07897a3a |
|
BLAKE2b-256 | 1f1377f5bba98e068620463372ee6df766a20abb249c959caaa8473ccf1c3c69 |