Porting some of the usable bits from the old django-eve project.