RE: model manager and request

2011-03-30 Thread Chris Matthews
y table names so that pgAdmin lists them at the end of, or after, the 'real' tables). Regards Chris -Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Tony Sent: 30 March 2011 22:27 To: Django users Subject: Re: model mana

Re: model manager and request

2011-03-30 Thread Tony
yeah, shawn said the exact dilemma I am having. I am working with a plugged in app and dont want to change its code and mess with its views and create a new fork, it just seems like small thing to make a change for (and I would probably mess something else up). On Mar 30, 11:58 am, Shawn Milochik

Re: model manager and request

2011-03-30 Thread Shawn Milochik
Jacob, This sort of thing comes up so frequently on this list that we've all seen those answers dozens of times, although not usually in so concise a manner. My question, to which there seems to be no answer, is what a good approach to do something that I know (from spending a long time on this l

Re: model manager and request

2011-03-30 Thread Jacob Kaplan-Moss
On Wed, Mar 30, 2011 at 1:11 PM, Tony wrote: > Is there a way to use the "request.user" attributes in a custom model > manager?  So I could filter by certain attributes the current logged > in user has?  This is the preferable way I would like to filter the > objects the user sees, so if there is