EIT Django Utils
Convenient utils for EIT Django dev
Documentation
Quickstart
Install EIT Django Utils:
pip install eit_django_utils
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django-hijack',
'eit_django_utils',
...
)
Add EIT Django Utils’s URL patterns:
from eit_django_utils import urls as eit_django_utils_urls
urlpatterns = [
...
path("eit_utils/", include(eit_django_utils_urls, namespace="eit_django_utils")),
...
]
Using with Django 2.2+ settings.py:
MIDDLEWARE = [ ... 'django.contrib.auth.middleware.AuthenticationMiddleware', # SetLocalDevShibUID is only for local development! 'eit_django_utils.backends.custom_auth.SetLocalDevShibUID', 'eit_django_utils.backends.custom_auth.CustomHijackMiddleware', 'eit_django_utils.backends.custom_auth.ShibAffiliationRequiredMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', ... ] AUTHENTICATION_BACKENDS = ( 'eit_django_utils.backends.custom_auth.CustomRemoteUserBackend', ) LOCALDEV_SHIB_UID = 'desired_unity_id'
Metadata
Release files for eit_django_utils 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eit_django_utils-0.4.4.tar.gz | 13.1 kB | Without provenance | Details for eit_django_utils-0.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eit_django_utils-0.4.4-py3-none-any.whl | Python 3 | none | any | Details for eit_django_utils-0.4.4-py3-none-any.whl |
Total release size: 24.3 kB
Release files / eit_django_utils-0.4.4.tar.gz
| Download URL | eit_django_utils-0.4.4.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3aff54c1f021c98d0922b2dc04629d3c3303e18f0f8e9b1cc3bd58b814a9fd2d
|
|
BLAKE2b-256 checksum How to use checksums |
de099459b3aaf25eb7a6827a2bed04543db3512309ea8e51dff8d8d54e61ae64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / eit_django_utils-0.4.4-py3-none-any.whl
| Download URL | eit_django_utils-0.4.4-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6aa16ed886396bec85745b781305fe2befce1cdfcc9b96f56bcabeb80d53938
|
|
BLAKE2b-256 checksum How to use checksums |
2bb9e4c85086fa90da928a95fe11d73dc4e7d32fe8dc70f80d79036a32a495d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for eit_django_utils 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.