Hi Shawn,

I use Managers often to limit my querysets and add additional fields
that I want dynamically calculated using sql. I just don't see how I
can get the request object to the models.Manager so it knows what to
filter by (user.uid). :(

I know I could do a filter in each view
queryset.objects.filter(branch__user = request.user) but I don't like
this method because I might just forget to add the filter and all data
will be visible.

Karol

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