Re: overriding queryset for admin inlines

2009-08-17 Thread shannon
If i use the standard `objects` (models.Manager) as the default manager, the all the inlines display. If i use another manager as the default (first listed in the model definition) that excludes some instances, the inlines are missing. You can see this if you change the ordering of the managers

Re: overriding queryset for admin inlines

2009-08-15 Thread Zachary Voase
...would get via the actual Python API? In this case, you couldn’t switch the managers around either. On Aug 15, 10:19 am, Zachary Voase wrote: > Correct me if I’m wrong, but won’t the inlines display the actual > relationship that you > > On Aug 14, 5:43 pm, smcoll wrote: > > > > > Currently,

Re: overriding queryset for admin inlines

2009-08-15 Thread Zachary Voase
Correct me if I’m wrong, but won’t the inlines display the actual relationship that you On Aug 14, 5:43 pm, smcoll wrote: > Currently, we can override the queryset used by ModelAdmins.  This is > helpful, since often times the default manager omits instances that > nevertheless belong in the adm

overriding queryset for admin inlines

2009-08-14 Thread smcoll
Currently, we can override the queryset used by ModelAdmins. This is helpful, since often times the default manager omits instances that nevertheless belong in the admin. It seems to me that there's no way to override the queryset for inlines, though. Is that correct? Inlines seem to use the de