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.
Metadata
Release files for incuna-auth 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| incuna-auth-0.10.0.tar.gz | 7.9 kB | Details |
Release files / incuna-auth-0.10.0.tar.gz
| Download URL | incuna-auth-0.10.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
745dcbb6b14e05fc8c65b2b70fb3e660650481523c73122da41adfaf71426c27
|
|
BLAKE2b-256 checksum How to use checksums |
65487917d53db7e9825b7be00c4502f0e7def37ed78484e00096ba6ea3e00a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |