Django-CRUM
Django-CRUM (Current Request User Middleware) captures the current request and user in thread local storage.
It enables apps to check permissions, capture audit trails or otherwise access the current request and user without requiring the request object to be passed directly. It also offers a context manager to allow for temporarily impersonating another user.
It provides a signal to extend the built-in function for getting the current user, which could be helpful when using custom authentication methods or user models.
Documentation can be found at RTFD.
- It is tested against:
Django 1.11 (Python 3.5 and 3.6)
Django 2.0 (Python 3.5, 3.6 and 3.7)
Django 2.1 (Python 3.5, 3.6 and 3.7)
Django 2.2 (Python 3.5, 3.6, 3.7, 3.8 and 3.9)
Django 3.0 (Python 3.6, 3.7, 3.8 and 3.9)
Django 3.1 (Python 3.6, 3.7, 3.8 and 3.9)
Django master/3.2 (Python 3.6, 3.7, 3.8 and 3.9)
Release files for django-crum 0.7.9
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-crum-0.7.9.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_crum-0.7.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 9.9 kB
Release files / django-crum-0.7.9.tar.gz
| Download URL | django-crum-0.7.9.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65e9bc0f070a663fafc4d9e357f45fd4e6f01838b20a9e2fb7670f5706754288
|
|
BLAKE2b-256 checksum How to use checksums |
341dc56588f67130aeef8828e47535e8551337d2ae02f91f1414da61bc5e49fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
|
Release files / django_crum-0.7.9-py2.py3-none-any.whl
| Download URL | django_crum-0.7.9-py2.py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
037cc8b822975bb1d41cd24269b59a512cc77448fadc3f34ab9a17b229b4b471
|
|
BLAKE2b-256 checksum How to use checksums |
cdf98fad70a3bd011a6be7c5c6067278f006a25341eb39d901fbda307e26804c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
|