Sorry, there is a typo mistake, my question is "how to get logged-in"
user WITHOUT request parameter.
Because i want to use it in a function in models.py

regards,
Arnold

On 11月8日, 下午8時18分, Dan Fairs <[EMAIL PROTECTED]> wrote:
> > My question above can be simplified as "how to get logged-in user with
> > request parameter"
>
> request.user will give you the logged-in user.
>
> If you want to know more about Django profile support, read the docs:
>
>    http://www.djangobook.com/en/beta/chapter12/
>
> You want the profiles section, near the bottom.
>
> Cheers,
> Dan
>
> --
> Dan Fairs <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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