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.
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.
Backend
Django 5.2 with full async support, Pydantic v2 configuration, and enterprise-grade ORM
Frontend
Next.js 15 with App Router, Radix UI components, and Tailwind CSS v4
Real-Time
WebSocket support via Centrifugo with auto-generated clients for all platforms
gRPC & APIs
High-performance gRPC with Django ORM integration and REST API generation
AI Integration
Built-in AI agents framework with OpenAI, Anthropic, and vector database support
Background Tasks
Production-ready task queue with Django-RQ, scheduling, and monitoring
Database
Multi-database routing, automated backups to S3/R2/MinIO, and migration control
Security
Enterprise security with JWT auth, CORS, CSP headers, and rate limiting
DevOps
Docker-first architecture with Traefik, health checks, and zero-downtime deploys
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.
Public Website
/Landing & marketing
User Dashboard
/privateUser features & data
Admin Panel
/cfg/adminManagement interface
Public Website
/Landing & marketing
User Dashboard
/privateUser features & data
Admin Panel
/cfg/adminManagement interface
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
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.
| Feature | Django 5.2 | FastAPI | Flask | Express.js |
|---|---|---|---|---|
| Admin Interface | ||||
| ORM + Migrations | ||||
| Built-in Auth | ||||
| Permissions System | ||||
| Form Validation | ||||
| Async Support | ||||
| Type Safety | Pydantic v2 | Pydantic v2 | TypeScript | |
| WebSockets | Channels | |||
| Background Tasks | Django-RQ | Manual | Manual | |
| Setup Time | 30s | 2-4 weeks | 4-6 weeks | 3-5 weeks |
Enterprise-Ready
Full auth, permissions, caching, business logic. No extra packages needed.
Time to Production
vs 2-6 weeks with FastAPI/Express for equivalent enterprise features.
Proven Scale
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
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
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
Three Commands. Done.
No configuration needed. Install, create project, start building.
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.
Trusted by developers building production applications worldwide.
From startups to enterprise — Django-CFG powers them all.