Skip to main content

Build Status PyPI Version PyPI License Python Versions Django Versions Read the Docs

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)

Source distribution for django-crum 0.7.9
File Size Uploaded
django-crum-0.7.9.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-crum 0.7.9
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.7.9 This release

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page