Rework the django_models() API