I don't think you can do that in you feild define phrase..
but you can use the pre_save hook to auto populate it with the current
logged user's name.Try to find the threadlocal middle ware,it can help you
to handle it!

-----
Best regards,
etng
[EMAIL PROTECTED]
http://www.etng.net/blog


On Thu, Jul 17, 2008 at 12:25 PM, Gue <[EMAIL PROTECTED]> wrote:

> I wanted set CharField default value to logged in admin user in model. and
> i have no idea about this. :(
>
> please, Is there any documentation or tip could be reference?
>
> >
>

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