Thxs Alex,

really helpful info.

Cheers,
DanB

On Nov 16, 7:04 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
>
> On 16 нояб, 20:07, "Dan-Cristian Bogos" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > Can anyone tell me if it is possible to access logged user instance
> > inside a model method, like save() is?
>
> > I need to rewrite save() method, so I should have some automatic
> > triggers on model.save(), and use information inside
> > user.groups.all().
>
> > Ta,
> > DanB
--~--~---------~--~----~------------~-------~--~----~
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