retainer beginning port to django