Fun with Django and Databases

Fun with Django and Databases

A talk I gave at EuroPython 2010


Andrew Godwin

July 19, 2010


  1. 6.

    ""When all you have is a hammer, everything looks like

    a nail"" Abraham Manslow (paraphrased)
  2. 9.

    qs = Teacher.objects.raw(""" SELECT, COUNT( FROM school_teacher AS t

    INNER JOIN school_student AS s ON = s.teacher_id GROUP BY HAVING COUNT( > 2 """)