Skip to main content

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

Project description

# django-nopassword
[![CircleCI](https://circleci.com/gh/relekang/django-nopassword.svg?style=svg)](https://circleci.com/gh/relekang/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.email.EmailBackend',)

Add urls to your *urls.py*

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

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

This version
History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.3.1

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

History Node

0.8.0

History Node

0.7.0

History Node

0.6.0

History Node

0.5.0

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_nopassword-3.0.2-py2.py3-none-any.whl (11.7 kB) Copy SHA256 hash SHA256 Wheel 3.6 Apr 18, 2017
django-nopassword-3.0.2.tar.gz (7.2 kB) Copy SHA256 hash SHA256 Source None Apr 18, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page