> Yes, this is essentially the same topic that was discussed here: 
> http://groups.google.com/group/django-users/browse_thread/thread/44ced967d9da3500
> However, there has not yet been an answer, and I think this particular (and 
> probably common) use-case renders the "write a function that accepts a user 
> argument" untenable.

No, but there's lots of other solutions. Marty Alchin solves this nicely with 
CurrentUserMiddleware:

http://bit.ly/9lIxsM

I've been wanting to make this into a reusable app for a long time, but the 
license on that code snippet is unclear.
--
  Andy McKay, @clearwind

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to