José,

> ... I thought I can do that overriding the save method of my
> model class but the problem is how can I know the currently logged user? ...

I just had to do this, and found and successfully implemented this
"threadlocals middleware" solution:

<http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser>

Also see:

<http://tinyurl.com/2tpbwf>, with it's associated link.

-Birkin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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