Open Source & Free Forever

Why
Django-CFG?

The most powerful fullstack solution for enterprise applications. Django 5.2 + Next.js + TypeScript + gRPC + WebSockets + AI — all integrated, type-safe, and production-ready out of the box.

Django 5.2 Async
Fullstack Solution
100% Open Source
Enterprise Ready
$0
Cost Forever
30s
To Production
90%
Less Config Code
MIT
License
Fullstack Solution

Complete Technology Stack

Everything you need for enterprise applications — tightly integrated, fully typed, and production-ready. Our npm libraries are deeply connected with Django-CFG, making frontend development a joy.

Core

Backend

Django 5.2 with full async support, Pydantic v2 configuration, and enterprise-grade ORM

Django 5.2Pydantic v2PostgreSQLRedis
UI

Frontend

Next.js 15 with App Router, Radix UI components, and Tailwind CSS v4

Next.js 15React 19Radix UITailwind v4
Real-Time

Real-Time

WebSocket support via Centrifugo with auto-generated clients for all platforms

CentrifugoWebSocketsAuto-clientsPub/Sub
Performance

gRPC & APIs

High-performance gRPC with Django ORM integration and REST API generation

gRPCProtocol BuffersOpenAPIREST
AI

AI Integration

Built-in AI agents framework with OpenAI, Anthropic, and vector database support

Pydantic AIChromaDBOpenAIAnthropic

Background Tasks

Production-ready task queue with Django-RQ, scheduling, and monitoring

Django-RQRedis QueueSchedulerDashboard

Database

Multi-database routing, automated backups to S3/R2/MinIO, and migration control

PostgreSQLMySQLSQLiteS3 Backups
Enterprise

Security

Enterprise security with JWT auth, CORS, CSP headers, and rate limiting

JWT AuthCORSCSPRate Limiting

DevOps

Docker-first architecture with Traefik, health checks, and zero-downtime deploys

DockerTraefikHealth ChecksCI/CD

Seamless Frontend Integration

Our npm packages (@djangocfg/ui, @djangocfg/api) are fully integrated with Django-CFG's authentication flow and system architecture.

  • Full authentication flow integration
  • Type-safe API clients with SWR
  • Real-time subscriptions ready
  • UI components pre-configured

One Project, Three Interfaces

Build public site, user dashboard, and admin panel in a single Next.js codebase.

Next.js Project

Public Website

/

Landing & marketing

User Dashboard

/private

User features & data

Admin Panel

/cfg/admin

Management interface

Shared Components & Logic
Django Backend
APIAuthDB
1
Codebase
3
Interfaces
0
Duplication
Real-World Performance

Performance That Matters

Hello-world benchmarks lie. Real apps need auth, database, caching, permissions. Django 5.2 delivers enterprise performance out of the box.

Auth + Permissions + Cache + Business Logic

Requests Per Second — Enterprise
Django 5.2 + CFG
Best Value
Fastest
5,000 rps
FastAPI3,500 rps
Flask1,200 rps
Express.js4,000 rps

Key insight: In real enterprise scenarios, Django 5.2 + CFG outperforms raw FastAPI because auth, permissions, ORM, and caching are already optimized and integrated. FastAPI requires weeks of manual integration to reach the same feature set.

What You Get Out of the Box
FeatureDjango 5.2FastAPIFlaskExpress.js
Admin Interface
ORM + Migrations
Built-in Auth
Permissions System
Form Validation
Async Support
Type SafetyPydantic v2Pydantic v2TypeScript
WebSocketsChannels
Background TasksDjango-RQManualManual
Setup Time30s2-4 weeks4-6 weeks3-5 weeks

Enterprise-Ready

5,000+ RPS

Full auth, permissions, caching, business logic. No extra packages needed.

Time to Production

30 seconds

vs 2-6 weeks with FastAPI/Express for equivalent enterprise features.

Proven Scale

100M+ users

Powers Instagram, Pinterest, Spotify. 15+ years of battle-tested reliability.

Sources: TechEmpower Benchmarks, Django 5.2 Release Notes, Python Framework Comparison

* Enterprise benchmarks include: JWT auth, role permissions, Redis cache, PostgreSQL ORM, business logic validation

Developer Experience

Type-Safe API Clients in 1 Command

Stop writing API clients manually. Generate fully typed TypeScript hooks with SWR integration directly from your Django API. Frontend development becomes pure joy.

Generate All Clients

Run this single command

$ python manage.py generate_api
Generates TypeScript, Python, Go, and Proto clients

One Command Generation

Generate TypeScript clients with SWR hooks from your Django API in seconds

Full Type Safety

Zod schemas for runtime validation, TypeScript types from OpenAPI spec

SWR Integration

Built-in data fetching with caching, revalidation, and optimistic updates

Multi-Language Support

Generate clients for TypeScript, Python, Go, and Protocol Buffers

What Gets Generated:

  • Type-safe React hooks for each endpoint
  • Zod schemas for request/response validation
  • SWR configuration with automatic caching
  • Full TypeScript types from OpenAPI spec
  • Error handling and loading states
users-page.tsx
TypeScript
Loading code...
Get Started in 30 Seconds

Three Commands. Done.

No configuration needed. Install, create project, start building.

Quick Install

Loading code...
Pre-configured Docker & Docker Compose
Next.js admin panel included
PostgreSQL, Redis, Centrifugo ready
JWT auth, DRF, OpenAPI out of the box

Replace settings.py

200+ lines → 15 lines. Type-safe. Validated.

Loading code...
Open Source

100% Open Source. Forever Free.

Django-CFG is and will always be open source. No strings attached. Build enterprise applications without licensing fees or restrictions.

Free Forever

No hidden costs, no premium tiers, no vendor lock-in. Use it for personal projects or enterprise applications.

MIT License

The most permissive open source license. Use commercially, modify freely, distribute without restrictions.

Community Driven

Built by developers, for developers. Contributions welcome. Shape the future of Django development.

Enterprise Ready

Production-tested, security-audited, and used by companies worldwide. Full transparency, full trust.

Support the Project

Star us on GitHub, contribute code, report issues, or spread the word. Every contribution helps make Django development better for everyone.

MIT
License
$0
Forever

Trusted by developers building production applications worldwide.
From startups to enterprise — Django-CFG powers them all.