Skip to main content

Habarico for Python

habarico is a Django REST Framework library. It turns Django models into a schema-driven admin API: REST endpoints plus JSON schemas describing resources, fields, views and actions, consumed by the Habarico React frontend. You write models and a thin ModelAdmin layer; the library generates the rest.

It is designed for CMS and ERP style back-office applications, where most screens are variations on the same list / detail / form pattern and hand-writing them is wasted effort.

Where to start​

PageWhat it covers
InstallationAdding the package to a Django project
ConfigurationSettings, URLs and the admin site
Basic usageModel admins, permissions, fields and serializers
View generatorsShaping the list, form and action views
Complete exampleOne resource wired up end to end

The schemas this library produces follow the same contract as the Ruby library, so the same React frontend renders either backend without changes.