SiteAuth
--------
Middleware that applies Apache-like access control.
Add ``siteauth.middleware.SiteAuthenticationMiddleware`` after
``django.contrib.auth.middleware.AuthenticationMiddleware`` in
your ``MIDDLEWARE_CLASSES`` tuple.
Below are the settings:
- ``SITEAUTH_ACCESS_ORDER`` - either ``allow/deny`` or ``deny/allow``
(default)
- ``SITEAUTH_ALLOW_URLS`` - a list of regexes that explicitly allows
non-athenticated access
- ``SITEAUTH_DENY_URLS`` - a list of regexes that explicitly denies
non-authenticated access
--------
Middleware that applies Apache-like access control.
Add ``siteauth.middleware.SiteAuthenticationMiddleware`` after
``django.contrib.auth.middleware.AuthenticationMiddleware`` in
your ``MIDDLEWARE_CLASSES`` tuple.
Below are the settings:
- ``SITEAUTH_ACCESS_ORDER`` - either ``allow/deny`` or ``deny/allow``
(default)
- ``SITEAUTH_ALLOW_URLS`` - a list of regexes that explicitly allows
non-athenticated access
- ``SITEAUTH_DENY_URLS`` - a list of regexes that explicitly denies
non-authenticated access
Metadata
Release files for django-siteauth 1.1.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 | |
|---|---|---|---|
| django-siteauth-1.1.0.tar.gz | 3.2 kB | Details |
Release files / django-siteauth-1.1.0.tar.gz
| Download URL | django-siteauth-1.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20de9ba958db462997d6a77a1591a650c6b571aae8f68c910ca2934f66b5e442
|
|
BLAKE2b-256 checksum How to use checksums |
e41ad114a8fde1b9ce2cdb01f7535a04202a6ee8058da857ebe7c310676b0401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |