This is much better than my ramblings.

On Fri, Jan 29, 2010 at 12:08 PM, tom <thomas.st...@gmail.com> wrote:
> maybe that middleware can help you out with getting the username
> http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
>
> On 29 Jan., 18:05, Shawn Milochik <sh...@milochik.com> 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 django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

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

Reply via email to