maybe that middleware can help you out with getting the username
http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser

On 29 Jan., 18:05, Shawn Milochik <[email protected]> wrote:
> I need to implement auditing for my models. The current plan is to listen for 
> the post_save() signal and dump the current values of the instance to an 
> external database.
>
> The only problem is that I need to store the request.user with this data, and 
> I don't see any way to capture that, since it appears to be completely out of 
> scope. Is there any clean way to get that?
>
> Thanks,
> Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to