On 7/21/06, Seth Buntin <[EMAIL PROTECTED]> wrote:
> I am new to Django (Rails convert) and I have a quick question.  I am
> trying to build a basic CMS for my company.  For each entry into the
> system I want to align the user that is logged in to the entry.  I have
> a foreign key for the user which works because when I go to the admin I
> get a drop-down list of the users but I want it to select the user that
> is logged in.  Can I do this with the way the admin is implemented?

Hey Seth,

Welcome to the community!

There's no official way to get the admin to change field values based
on the current user, but a couple of people have put together hacky
solutions while we try to figure out a good (and decoupled) way of
solving the problem nicely. Search the django-users archives for
"admin current user" for a bunch of these hacks.

Hope this helps,
Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

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

Reply via email to