Sessions at DjangoCon Europe 2011 with slides and handout and video

Your current filters are…


Monday 6th June 2011

Tuesday 7th June 2011

  • unjoinify: a module to tame the SQL beast

    by Matt Westcott

    We all know the golden rule of query optimisation: make one big query rather than lots of little ones in a loop. However, that's easier said than done when you're dealing with deeply nested data - there's a limit to what you can do with Django's own mechanisms like select_related. Often the only answer is to drop down to raw SQL, and in those cases we'd still like to have access to our models, rather than abandoning ORM entirely. This talk presents unjoinify, a helper module that can reassemble gnarly cross-table SQL resultsets back into template-friendly object trees.

    At 12:05pm to 12:25pm, Tuesday 7th June