Re: look at about-to-be-run query

2010-04-20 Thread Shawn Milochik
I'm sure there's a better answer than this, but if you need it immediately this get you what you're asking for. Create a custom manager for your class and just define filter() as below: class MyCustomManager(models.Manager): def filter(self, *args, **kwargs): queryset = super(

look at about-to-be-run query

2010-04-20 Thread Jim
Hello. I have a query that is failing and I'd like to look at it. (I'm trying to do full-text searches in postgresql 8.2, so I'm using extra with both select and where clauses, so it is reasonably complex). I know how to see prior queries with connection.queries. But is there a way to get the va