{"library":"django-crum","type":"library","category":null,"description":"Django-CRUM (Current Request User Middleware) captures the current request and user in thread local storage. It enables Django applications to check permissions, capture audit trails, or access the current request and user without requiring the request object to be passed directly. It also provides a context manager for temporarily impersonating another user. The current version is 0.7.9, released on November 10, 2020, and it is tested against various Django versions from 1.11 up to 4.0, and Python versions from 3.4 to 3.9.","language":"python","status":"maintenance","version":"0.7.9","tags":["django","middleware","request","user","authentication","authorization","thread-local"],"last_verified":"Sun May 24","install":[{"cmd":"pip install django-crum","imports":["from crum import CurrentRequestUserMiddleware","from crum import get_current_request","from crum import get_current_user","from crum import impersonate"]}],"homepage":null,"github":"https://github.com/ninemoreminutes/django-crum","docs":"https://django-crum.rtfd.org/","changelog":null,"pypi":"https://pypi.org/project/django-crum/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.4,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/django-crum/compatibility"}}