Merge pull request #51 from washort/master

django 1.6 removes `dup_select_related`
handle EmptyResultSet