On Wed, 21 May 2008 19:46:20 -0500, James Bennett wrote:

> On Wed, May 21, 2008 at 7:35 PM, Juanjo Conti <[EMAIL PROTECTED]> wrote:
>> Ugly. Is this the only way?
> 
> Sigh.
> 
> No, "ugly" is magical global variables and things that appear out of
> thin air.
> 
> Code that's clean and understandable, where you can clearly see where
> everything comes from and what it's doing, is beautiful.

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?


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