from mysite.tasks.models import Task
print('Done tasks')
for task in Task.objects.filter(is_done=True):
    pass
Simple / Smart, Pythonic database solution, can use Python types + syntax? (Key / Value Dict, Array, maybe Ordered Dict)