Authentication backend for django that uses a one time code instead of passwords
Project description
# django-nopassword
[![Build Status](https://travis-ci.org/relekang/django-nopassword.svg?branch=master)](https://travis-ci.org/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://travis-ci.org/relekang/django-nopassword.svg?branch=master)](https://travis-ci.org/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.2.0.tar.gz
(21.3 kB
view hashes)
Built Distribution
Close
Hashes for django_nopassword-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2545e61a5bf2eb339e98843e1abdd1fe7802d96f242cc20a2c97e8df87cf8218 |
|
MD5 | 403d8c0795b60e79d2e4b3325b4e8506 |
|
BLAKE2b-256 | 1ced485f4ed1e71d607821172979ced7124695edd14ec0a51046391a1e4bfe84 |