Django middleware to capture current request and user.
Project description
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 is tested against Python 2.6 and 2.7 using Django 1.4, 1.5 and 1.6.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-crum-0.5.tar.gz
(3.3 kB
view hashes)