quick snapshot, in the middle of initial refactor to support async in Django views.