Provides authentication parts.
Project description
Various pieces of useful Auth.
Installation
Install the package:
pip install incuna-auth
Add to your INSTALLED_APPS in settings.py:
INSTALLED_APPS = ( ... incuna_auth, ... )
Add the urls to your ROOT_URLCONF:
urlpatterns = patterns('' ... url('', include('incuna_auth.urls')), ... )
Add the auth urls in settings.py:
from django.core.urlresolvers import reverse_lazy ... LOGIN_URL = reverse_lazy('auth_login') LOGOUT_URL = reverse_lazy('auth_logout')
Add the tables to the db:
python manage.py syncdb
Warning: An initial data fixture is included that creates an admin_sso.Assignment to assign any user with an incuna.com email to the Admin user.
Backend
TODO: Add a run down of the Backend.
Middleware
TODO: Add a run down of the Middleware.
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
incuna-auth-0.7.2.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file incuna-auth-0.7.2.tar.gz
.
File metadata
- Download URL: incuna-auth-0.7.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7883f0d777395bae178023a5fca0ce547a5f7e2171b1c5eec912e8837759fdfa |
|
MD5 | b25a1bc4929b5c5ef7c7f6363d0418dd |
|
BLAKE2b-256 | d2e441e8bcdec43ef8ed7f3040b79ef028e22577d1e707e05954d4396c747e57 |
File details
Details for the file incuna_auth-0.7.2-py2-none-any.whl
.
File metadata
- Download URL: incuna_auth-0.7.2-py2-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e61548274c53ec949e7312c0ea73721e7cdc0d9de078f1175698fd4aada65e5c |
|
MD5 | f575f20bd8e63a04bc21108db1af7a3c |
|
BLAKE2b-256 | 1b62a35b94f685b63c8ebb4d599ad768e98d658eeb81093a2a6f49c8b17c6039 |