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('login') LOGOUT_URL = reverse_lazy('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-2.1.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for incuna_auth-2.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6776ad63cacf1ab5b5b9cc9d7d814b57765df3edfb09e32f5e7f4de8b596df3 |
|
MD5 | 3fc8a271177dca43a54d3cca3a066858 |
|
BLAKE2b-256 | bfa9948f9eb94638ea3d68d5b0b0b26e9bb8c045ddf08aabe63655b1f7878f2a |