On 5 February 2012 17:14, Bináris <wikiposta@gmail.com> wrote:
(long story)

Do some debugging. Set the debug flag on, so that you can see which queries are output. Use some well-placed print statements, or use pdb to set some breakpoints at sensible locations.

Best,
Merlijn