Skip to Content
Type-safe Django framework

Django, the type-safe way.

A modern Django framework with Pydantic v2 configuration. Replace brittle settings.py with validated models, auto-discovered extensions, batteries-included apps, and generated type-safe API clients — ship professional SaaS platforms faster.

$ pip install django-cfg
Pydantic v2
Validated config
Batteries
Built-in apps
Typed
API clients

Type-safe configuration

Replace settings.py with Pydantic v2 models. Config errors are caught at startup, not in production — with full IDE autocomplete and validation.

Auto-discovered extensions

Drop a module into extensions/ and it self-registers: URLs, admin, Constance fields, and scheduled tasks wire up by convention.

Batteries included

User management, payments, leads, LLM, email, Telegram, RQ tasks, currency, geo, and more — built-in apps you enable with a flag.

Type-safe API clients

Generate fully typed TypeScript clients from your DRF endpoints. The frontend and backend share one contract.

Pure-Django admin dashboard

A tabbed admin dashboard built on Django templates + callbacks — no Streamlit, no separate stack to deploy.

CLI-first workflow

Scaffold projects, inspect config, and search settings with the django-cfg CLI. From zero to a running SaaS in minutes.