On Sep 3, 2:10 am, Steve Holden <holden...@gmail.com> wrote: > On 9/2/2010 1:44 AM, Paul Winkler wrote: > > > Hah. That was a pretty long message relative to how quickly I found > > the answer myself :-p > > Sorry for the noise. > > > For posterity, extra(where=...) is indeed the solution. I overlooked > > the obvious: > > the class I was trying to fix is itself a subclass of QuerySet. So > > given this line: > > > clone.query.extra_where += ('db_newsitem.id = > > db_attribute.news_item_id',) > > > the replacement is now: > > > clone = clone.extra(where=('db_newsitem.id = > > db_attribute.news_item_id',)) > > > Seems to work fine. > > [...] > > Once again this group proves itself at least as valuable as a stuffed > bear ;-) > > regards > Steve
Steve - any chance you could translate that analogy into POE (Plain Old English)...?! Derek > DjangoCon US 2010 September 7-9http://djangocon.us/ -- 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.