Django Queryset chunks
http://pastebin.com/6ukwatVs