Authentication backend for django that uses email verification 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/)
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 = (
...
'django_nopassword',
...
)
```
Set the authentication backend to *EmailBackend*
AUTHENTICATION_BACKENDS = ( 'django_nopassword.backends.EmailBackend', )
Add urls to your *urls.py*
```python
urlpatterns = patterns('',
...
url(r'^accounts/', include('django_nopassword.urls')),
...
)
```
## Tests
Run with `python setup.py test`.
To run with sqlite add `USE_SQLITE = True` in tests/local.py
[![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/)
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 = (
...
'django_nopassword',
...
)
```
Set the authentication backend to *EmailBackend*
AUTHENTICATION_BACKENDS = ( 'django_nopassword.backends.EmailBackend', )
Add urls to your *urls.py*
```python
urlpatterns = patterns('',
...
url(r'^accounts/', include('django_nopassword.urls')),
...
)
```
## Tests
Run with `python setup.py test`.
To run with sqlite add `USE_SQLITE = True` in tests/local.py
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-0.8.0.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for django_nopassword-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb9fce7b486b3f2061c88fb383f7a00b216f5b7f73b6ee8271673e289c864e4 |
|
MD5 | adcc81828dbd02aab0ab5fadc873b2c6 |
|
BLAKE2b-256 | 005cffcca50ab2b39b8a82b7d4268144d5e0bb78983e9cb659c753edb843fbcf |