On Wed, May 21, 2008 at 8:23 PM, Patrick J. Anderson
<[EMAIL PROTECTED]> wrote:
> Passing a Request object should work in application views, but what if
> one wants to capture that information on every save() call, including in
> the admin?
>
> What would be an elegant and beautiful approach to solving this problem?

Well, newforms-admin is being written to make the HttpRequest object
available as an argument to the various ModelAdmin methods, which
means that when you set up your own custom admin you can do pretty
much anything you want.

Which will make a lot of people happy, and let them go right on
building workflows that don't make a lot of sense (if somebody's a
trusted administrator, how come you don't trust them to fill in a
field properly?).


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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