Metadata-Version: 1.0
Name: django-nopassword
Version: 0.3
Summary: Authentication backend for django that uses email verification instead of passwords
Home-page: http://github.com/relekang/django-nopassword
Author: Rolf Erik Lekang
Author-email: me@rolflekang.com
License: UNKNOWN
Description: # django-nopassword
        [![Build Status](https://travis-ci.org/relekang/django-nopassword.png)](https://travis-ci.org/relekang/django-nopassword)
        [![PyPi version](https://pypip.in/v/django-nopassword/badge.png)](https://crate.io/packages/django-nopassword/)
        [![PyPi downloads](https://pypip.in/d/django-nopassword/badge.png)](https://crate.io/packages/django-nopassword/)  
        **Disclaimer:** I am writing this to learn more about custom authentication in django. 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)
        
        South is not required but it 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')),
            ...
        )
        ```
        
        ## Settings
        
        ##### LOGIN_CODE_TIMEOUT
        default: `900` (15 minutes)  
        Defines how long a login code is valid in seconds.
        
        ### Django settings used by django-nopassword
        ##### SERVER_URL
        default: `example.com`
        
        ##### SERVER_EMAIL
        default: `root@example.com`
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
