# djangocfg-docs-seo > Documentation index for large language models. ## Docs - [Django-CFG Documentation](https://djangocfg.com): Django-CFG is a modern, type-safe Django framework with Pydantic v2 configuration — validated config, auto-discovered extensions, batteries-included apps, and generated type-safe API clients. - [API Reference](https://djangocfg.com/api) - [API Reference](https://djangocfg.com/api/intro): Django-CFG API reference for intro. Complete api reference documentation with type signatures, examples, and integration patterns. - [Business](https://djangocfg.com/business) - [Reduce Django Development Costs by 60% - Type-Safe Configuration ROI](https://djangocfg.com/business/reduce-django-development-costs): Cut Django development costs 60% with type-safe configuration. Reduce bugs 90%, onboard developers 97% faster, eliminate config debugging. ROI calculator and case studies included. - [CLI Tools](https://djangocfg.com/cli) - [CLI Commands](https://djangocfg.com/cli/commands) - [Code Generation](https://djangocfg.com/cli/commands/codegen): Generate type-safe API clients for TypeScript, Python, Go, and Swift from your Django project using generation.py config file. - [Core Commands](https://djangocfg.com/cli/commands/core-commands): Django-CFG CLI core commands commands. Command-line interface for core commands with examples, options, and production workflows. - [Development Commands](https://djangocfg.com/cli/commands/development): Django-CFG CLI development commands. Command-line interface for development commands with examples, options, and production workflows. - [Commands Overview](https://djangocfg.com/cli/commands/overview): Django-CFG CLI commands organized by category. Quick access to all management commands. - [Quick Reference](https://djangocfg.com/cli/commands/quick-reference): Django-CFG CLI quick reference commands. Command-line interface for quick reference with examples, options, and production workflows. - [Testing & Monitoring Commands](https://djangocfg.com/cli/commands/testing-monitoring): Django-CFG testing and monitoring commands. Health checks, endpoint validation, and service testing. - [Custom CLI Commands](https://djangocfg.com/cli/custom-commands): Django-CFG CLI custom commands commands. Command-line interface for custom cli commands with examples, options, and production workflows. - [CLI Tools Introduction](https://djangocfg.com/cli/introduction): Django-CFG CLI introduction commands. Command-line interface for cli tools introduction with examples, options, and production workflows. - [Configuration Models](https://djangocfg.com/configuration): Type-safe Pydantic configuration models for Django-CFG - [Cache Models](https://djangocfg.com/configuration/cache): CacheConfig model for Redis, LocMem, and Dummy cache backends - [Database Models](https://djangocfg.com/configuration/database): DatabaseConfig and DatabaseRoutingRule configuration models - [DjangoConfig Base Class](https://djangocfg.com/configuration/django-settings): Complete reference for DjangoConfig base configuration class - [Email Models](https://djangocfg.com/configuration/email): EmailConfig model for SMTP, Console, and HTTP-gateway email backends - [Environment Configuration](https://djangocfg.com/configuration/environment): Modern environment configuration with pydantic-settings. Type-safe, simple, and production-ready. - [Security Settings](https://djangocfg.com/configuration/security): Security, CORS, and SSL configuration in Django-CFG - [Contact](https://djangocfg.com/contact): Get in touch with the Django-CFG team — support, partnerships, and enterprise. Email, WhatsApp, or book a call. - [Core](https://djangocfg.com/core): Core architecture, patterns, and system internals of Django-CFG framework. - [System Architecture](https://djangocfg.com/core/architecture): Django-CFG architecture fundamentals. Comprehensive guide to system architecture with Pydantic validation, type safety, and enterprise patterns. - [Builder Pattern](https://djangocfg.com/core/builder-pattern): Complete guide to builder pattern in Django-CFG. Learn builder pattern with type-safe configuration, Pydantic validation, and production-ready patterns. - [CORS Configuration](https://djangocfg.com/core/cors): Django-CFG CORS middleware and decorators for Cross-Origin Resource Sharing. Automatic CORS for public API endpoints. - [Django Integration](https://djangocfg.com/core/django-integration): Django integration guide for Django-CFG. - [API Encryption Overview](https://djangocfg.com/core/encryption): Django-CFG encryption module - anti-scraping API protection with seamless client-side decryption. - [Frontend Decryption](https://djangocfg.com/core/encryption/frontend): Client-side decryption with @djangocfg/crypto - React hooks and Web Crypto API integration. - [Generator Pattern](https://djangocfg.com/core/generator-pattern): Complete guide to generator pattern in Django-CFG. Learn generator pattern with type-safe configuration, Pydantic validation, and production-ready patterns. - [Middleware System](https://djangocfg.com/core/middleware): Complete reference for all Django-CFG middleware classes covering authentication, real IP, timezone, pagination, activity tracking, and debug utilities. - [API Access Mixins](https://djangocfg.com/core/mixins): Four DRF ViewSet mixins that enforce authentication and permission tiers — public, client, admin, and superadmin — for Django-CFG API endpoints. - [Rate Limiting](https://djangocfg.com/core/rate-limiting): Django-CFG rate limiting for API protection. Universal decorators for Django views, DRF endpoints, and async WebSocket handlers with Redis-backed distributed limiting. - [Registry System - Lazy Import Management](https://djangocfg.com/core/registry): Django-CFG registry for efficient lazy loading of components. Organized import system with zero startup cost. - [Routing System - Database Routing & URL Management](https://djangocfg.com/core/routing): Django-CFG routing fundamentals. Comprehensive guide to routing system - database routing & url management with Pydantic validation, type safety, and enterprise - [Startup & Validation](https://djangocfg.com/core/startup): Django-CFG startup hooks covering registry validation, DRF patching, type stub installation, and Constance admin registration — plus the startup information display system. - [Type-Safe Django Configuration - 90% Less Code with Pydantic v2](https://djangocfg.com/core/type-safety): Build production-grade type-safe Django configuration with Pydantic v2 models. Reduce config bugs by 90%, get full IDE autocomplete, validate at startup. Complete migration guide from settings.py. - [Utilities - Smart Defaults & Version Management](https://djangocfg.com/core/utilities): Django-CFG utilities fundamentals. Comprehensive guide to utilities - smart defaults & version management with Pydantic validation, type safety, and enterprise - [Database Configuration](https://djangocfg.com/database): Database configuration guide for Django-CFG with URL-based setup and multi-database support. - [Cross-Database Relations](https://djangocfg.com/database/cross-database-relations): ForeignKeys across different databases with db_constraint=False - [Migrations](https://djangocfg.com/database/migrations): Multi-database migration commands - [Multi-Database Setup](https://djangocfg.com/database/multi-database): Configure multiple databases with Django-CFG - [Database Routing](https://djangocfg.com/database/routing): Automatic database routing with Django-CFG - [Test Database Management](https://djangocfg.com/database/testing): Zero-configuration test database management with automatic setup, cleanup, and migration fixes. - [URL-Based Configuration](https://djangocfg.com/database/url-configuration): URL-based database configuration with dj-database-url - [Deployment](https://djangocfg.com/deployment) - [Environment Setup](https://djangocfg.com/deployment/environment-setup): Environment configuration principles for Django-CFG using pydantic-settings and environment variables. - [Logging System](https://djangocfg.com/deployment/logging): Django-CFG logging module with zero-configuration setup, environment-aware logging, and structured output. - [Monitoring & Logging](https://djangocfg.com/deployment/monitoring): Deploy Django-CFG with monitoring. Complete deployment guide for monitoring & logging with Docker, environment configuration, and production best practices. - [Deployment Overview](https://djangocfg.com/deployment/overview): Deploy Django-CFG to production. Overview of deployment strategies including Docker, cloud platforms, and traditional VPS deployment. - [Security Hardening](https://djangocfg.com/deployment/security): Deploy Django-CFG with security. Complete deployment guide for security hardening with Docker, environment configuration, and production best practices. - [Extensions Overview](https://djangocfg.com/extensions): Modular, reusable apps for Django-CFG - Build once, use everywhere - [API Reference](https://djangocfg.com/extensions/api-reference): Configuration reference for Django-CFG extension settings - [Using Extensions](https://djangocfg.com/extensions/backend-extensions): How to install, configure, and use Django-CFG extensions in your project - [Frontend Extensions](https://djangocfg.com/extensions/frontend-extensions): Using TypeScript/React extension packages in your Next.js application - [Migration Guide](https://djangocfg.com/extensions/migration-guide): Migrate from legacy monolithic config to the new extensions architecture - [Features](https://djangocfg.com/features): Explore all Django-CFG features - built-in apps, modules, and integrations - [API Generation](https://djangocfg.com/features/api-generation) - [CLI Usage](https://djangocfg.com/features/api-generation/cli-usage): Django-CFG management commands for generating type-safe API clients. Command-line interface for creating TypeScript, Python, Go, and Swift client libraries. - [Using Generated Clients](https://djangocfg.com/features/api-generation/generated-clients): Generated API client examples for TypeScript, Python, Swift, Go, and JavaScript. Type-safe client libraries with automatic validation and error handling. - [Group Configuration](https://djangocfg.com/features/api-generation/groups): Configure API generation groups for organizing large APIs. Manage multiple API clients with group-specific settings and separate OpenAPI schemas. - [API Client Generation Overview](https://djangocfg.com/features/api-generation/overview): Auto-generate type-safe TypeScript, Python, Go, and Swift clients from Django REST Framework. Built for Next.js, React, React Native, iOS, and modern Python backends. - [/features/api-generation/troubleshooting](https://djangocfg.com/features/api-generation/troubleshooting) - [Built-in Apps](https://djangocfg.com/features/built-in-apps) - [Bundled Extensions Overview](https://djangocfg.com/features/built-in-apps/overview): Pre-installed extensions in Django-CFG solution template. Production-ready apps with validation, type safety, and seamless Django integration. - [User Management Extensions](https://djangocfg.com/features/built-in-apps/user-management): Django-CFG user management extensions - authentication, JWT, OTP, OAuth, and two-factor authentication. Production-ready with type safety and seamless Django integration. - [Accounts App](https://djangocfg.com/features/built-in-apps/user-management/accounts): Production-ready authentication and user management — OTP login, JWT tokens, 2FA, OAuth, brute-force protection, and user profiles. - [Frontend Integration](https://djangocfg.com/features/built-in-apps/user-management/accounts/frontend): How to integrate the Accounts app with @djangocfg/api and @djangocfg/layouts — AuthLayout, auth hooks, server middleware, and SWR data fetching. - [JWT Configuration](https://djangocfg.com/features/built-in-apps/user-management/accounts/jwt): Type-safe JWT token configuration via JWTConfig — secure defaults, lifetimes, rotation, and DPoP sender-constrained tokens. - [Login Alerts](https://djangocfg.com/features/built-in-apps/user-management/accounts/login-alerts): Apple-style login notification emails with device detection, IP tracking, and intelligent suppression rules. - [OAuth (Social Login)](https://djangocfg.com/features/built-in-apps/user-management/accounts/oauth): GitHub OAuth social login — type-safe config, account linking, CSRF protection, frontend hooks, and security practices. - [OTP Authentication & Brute-Force Protection](https://djangocfg.com/features/built-in-apps/user-management/accounts/otp): How OTP login works internally — request/verify flow, marketing-consent capture, 4-layer brute-force protection, anti-enumeration, soft delete, and cleanup jobs. - [Two-Factor Authentication (2FA)](https://djangocfg.com/features/built-in-apps/user-management/accounts/two-factor): TOTP-based 2FA with Django-CFG — TwoFactorConfig, enforcement modes, backup codes, QR setup, and admin runtime settings. - [DRF Guide](https://djangocfg.com/features/drf-guide) - [@action Request Body Validation](https://djangocfg.com/features/drf-guide/drf-action-request-body): The client generator aborts when a DRF @action detail endpoint inherits its ViewSet's default request body. Declare the body explicitly with @extend_schema. - [Array Responses](https://djangocfg.com/features/drf-guide/drf-array-responses): How to return simple arrays from DRF ViewSet actions without pagination wrapping. Correct patterns for generating typed array responses in TypeScript clients. - [Nested Serializers & allOf](https://djangocfg.com/features/drf-guide/drf-nested-serializers): How to handle nested DRF serializers that produce allOf in OpenAPI schemas, causing TypeScript to generate Record instead of typed interfaces. - [Pagination](https://djangocfg.com/features/drf-guide/drf-pagination): Pagination patterns for DRF ViewSet actions and their effect on generated TypeScript clients. How to control paginated vs unpaginated responses. - [Pydantic v2 Response Schemas](https://djangocfg.com/features/drf-guide/drf-pydantic-responses): Use Pydantic v2 models directly as response schemas in DRF ViewSets. Django-CFG ships with built-in support — no extra config required. - [DRF ViewSets & Serializers](https://djangocfg.com/features/drf-guide/drf-viewsets): Best practices for writing DRF ViewSets and serializers that produce clean OpenAPI schemas and type-safe generated clients. - [Integrations](https://djangocfg.com/features/integrations) - [Authentication](https://djangocfg.com/features/integrations/auth): JWT, OTP, 2FA, and OAuth authentication for Django-CFG. - [Auth System Architecture](https://djangocfg.com/features/integrations/auth-system): End-to-end authentication system internals — OTP, OAuth, 2FA, brute-force protection. - [OAuth Authentication](https://djangocfg.com/features/integrations/oauth): GitHub OAuth social login configuration. - [OAuth Configuration Reference](https://djangocfg.com/features/integrations/oauth/configuration): All GitHubOAuthConfig options. - [OAuth Frontend Integration](https://djangocfg.com/features/integrations/oauth/frontend): React/Next.js OAuth integration. - [GitHub OAuth Setup](https://djangocfg.com/features/integrations/oauth/github): Detailed GitHub OAuth App setup guide. - [OAuth Security Best Practices](https://djangocfg.com/features/integrations/oauth/security): Production OAuth security recommendations. - [Integrations Overview](https://djangocfg.com/features/integrations/overview): Django-CFG integrations overview. Production-ready third-party integrations with built-in validation, type safety, and seamless Django integration. - [Integration Patterns](https://djangocfg.com/features/integrations/patterns): Django-CFG patterns feature guide. Production-ready integration patterns with built-in validation, type safety, and seamless Django integration. - [Modules](https://djangocfg.com/features/modules) - [Django Admin Module Overview](https://djangocfg.com/features/modules/django-admin): Declarative Pydantic-based Django admin configuration with type-safe field definitions, automatic display methods, and modern UI components. - [API Reference](https://djangocfg.com/features/modules/django-admin/api-reference): Complete API reference for Django Admin module - all classes, methods, and utilities. - [Configuration Guide](https://djangocfg.com/features/modules/django-admin/configuration): Complete configuration reference for Django Admin - AdminConfig, decorators, HTML utilities, and display helpers. - [Documentation & Management Commands](https://djangocfg.com/features/modules/django-admin/documentation): Auto-discover and display markdown documentation and management commands in Django Admin with DocumentationConfig - [Real-World Examples](https://djangocfg.com/features/modules/django-admin/examples): Complete working examples of Django Admin from production code - Payment, User, E-commerce, and Newsletter admins. - [Field Types Overview](https://djangocfg.com/features/modules/django-admin/field-types): Overview of all Django Admin field types - choose the right field for your data. - [Advanced Field Types](https://djangocfg.com/features/modules/django-admin/field-types/advanced-fields): Advanced field types for Django Admin including StackedField for composite columns, StatusBadgesField for multiple conditional badges, CounterBadgeField for counter displays, and ToonField for JSON/TOON viewer. - [Basic Field Types](https://djangocfg.com/features/modules/django-admin/field-types/basic-fields): Essential field types for common use cases including BadgeField for status indicators, BooleanField for checkmarks, and TextField for text display with truncation. - [Display Field Types](https://djangocfg.com/features/modules/django-admin/field-types/display-fields): Reference for display-focused field types including AvatarField, UserField, LinkField, ImageField, and ImagePreviewField for rich visual presentations in Django Admin. - [Formatting Field Types](https://djangocfg.com/features/modules/django-admin/field-types/formatting-fields): Learn about CurrencyField, DecimalField, DateTimeField, and ShortUUIDField for formatting values in Django Admin lists. - [Filters Guide](https://djangocfg.com/features/modules/django-admin/filters): Declarative filter configuration for Django Admin using FilterConfig — dropdowns, autocomplete, range, date, and custom filters with Unfold UI. - [Flash Messages](https://djangocfg.com/features/modules/django-admin/flash-messages): One-time session-based messages for displaying sensitive data like API keys, passwords, and tokens directly in Django Admin — shown once, then gone. - [Django Admin Quick Start](https://djangocfg.com/features/modules/django-admin/quick-start): Get started with Django-CFG declarative admin in 5 minutes. Simple examples to configure your first Pydantic-based admin interface. - [/features/modules/django-centrifugo](https://djangocfg.com/features/modules/django-centrifugo) - [/features/modules/django-centrifugo/api-reference](https://djangocfg.com/features/modules/django-centrifugo/api-reference) - [/features/modules/django-centrifugo/architecture](https://djangocfg.com/features/modules/django-centrifugo/architecture) - [/features/modules/django-centrifugo/backend-guide](https://djangocfg.com/features/modules/django-centrifugo/backend-guide) - [CLI Commands](https://djangocfg.com/features/modules/django-centrifugo/cli-commands): Management commands for testing and debugging Centrifugo integration - [/features/modules/django-centrifugo/client-generation](https://djangocfg.com/features/modules/django-centrifugo/client-generation) - [/features/modules/django-centrifugo/frontend-guide](https://djangocfg.com/features/modules/django-centrifugo/frontend-guide) - [Setup and Configuration](https://djangocfg.com/features/modules/django-centrifugo/setup): Complete guide to setting up Centrifugo WebSocket integration with native RPC proxy in your Django-CFG project. - [File Cleanup](https://djangocfg.com/features/modules/django-cleanup): Automatic file deletion for FileField and ImageField on instance deletion or field replacement, with transaction-safe signal-based cleanup. - [Overview](https://djangocfg.com/features/modules/django-codegen): Unified code generation module for API clients, supporting multiple platforms and targets with automatic extension discovery. - [CLI Commands](https://djangocfg.com/features/modules/django-codegen/cli): CLI commands for django_generator module. - [Configuration](https://djangocfg.com/features/modules/django-codegen/configuration): Complete configuration reference for django_generator module. - [Currency System Overview](https://djangocfg.com/features/modules/django-currency): Database-backed currency conversion with MoneyField, automatic rate updates, and Django Admin integration. - [Admin Integration](https://djangocfg.com/features/modules/django-currency/admin-integration): MoneyFieldDisplay, MoneyFieldWidget, and Django Admin integration for currency fields. - [Currency API Reference](https://djangocfg.com/features/modules/django-currency/api-reference): Complete API reference for Django-CFG Currency System including CurrencyRate, MoneyField, and MoneyFieldDisplay. - [MoneyField](https://djangocfg.com/features/modules/django-currency/money-field): Composite model field for storing monetary values with automatic currency conversion. - [Currency Quick Start](https://djangocfg.com/features/modules/django-currency/quick-start): Get started with MoneyField and currency conversion in 5 minutes. - [django_dashboard — Admin Dashboard Tabs](https://djangocfg.com/features/modules/django-dashboard): Add custom tabbed panels to the Django Unfold admin overview page using plain Django views and templates. - [DRF Theme](https://djangocfg.com/features/modules/django-drf-theme): A modern, schema-aware Browsable API for Django REST Framework. Endpoint navigation, a typed "Try it" console, OpenAPI-driven example responses, auth + code snippets, and native dark mode — built on Tailwind CSS v4 and Alpine.js with no build step. - [Email Module](https://djangocfg.com/features/modules/django-email): Auto-configuring email service that reads settings from DjangoConfig. Supports SMTP, HTML, template-based, and attachment emails with background sending and Telegram error fallback. - [Email Configuration](https://djangocfg.com/features/modules/django-email/configuration): Complete reference for EmailConfig fields, backend options (SMTP, HTTP gateway), and provider-specific SMTP setups for Gmail, SendGrid, Mailgun, and AWS SES. - [Email Quick Start](https://djangocfg.com/features/modules/django-email/quick-start): Step-by-step guide to configuring and sending your first email with django-cfg's Email Module. - [FastAPI ORM Generator](https://djangocfg.com/features/modules/django-fastapi): Generate production-ready FastAPI/SQLModel code from Django models. Auto-generates async CRUD repositories, Pydantic schemas, and database configuration. - [FastAPI ORM Configuration](https://djangocfg.com/features/modules/django-fastapi/configuration): Complete configuration reference for FastAPI ORM Generator. All options for output, generation, PostgreSQL types, and naming conventions. - [Generated Code Reference](https://djangocfg.com/features/modules/django-fastapi/generated-code): Detailed reference of code generated by FastAPI ORM Generator. SQLModel models, Pydantic schemas, CRUD repositories, and type mappings. - [Usage Patterns](https://djangocfg.com/features/modules/django-fastapi/usage): Practical usage patterns for FastAPI ORM Generator. FastAPI integration, custom queries, transactions, relationships, and testing. - [Health Check Module](https://djangocfg.com/features/modules/django-health): HTTP health check endpoints for monitoring database connectivity, cache availability, system resources, and Django-CFG configuration status. - [Import/Export](https://djangocfg.com/features/modules/django-import-export): Seamless django-import-export integration with Unfold admin styling, providing admin classes, forms, and resources through the Django-CFG registry. - [LLM Integration Overview](https://djangocfg.com/features/modules/django-llm): Django-CFG LLM module overview. Production-ready LLM integration with vision, OCR, image generation, auto-resize optimization, and cost tracking. - [LLM Balance Monitoring](https://djangocfg.com/features/modules/django-llm/balance-monitoring): Professional monitoring of OpenAI and OpenRouter account balances with automatic email and Telegram notifications - [Caching](https://djangocfg.com/features/modules/django-llm/caching): Intelligent caching for LLM responses and images with TTL management. - [Cost Tracking](https://djangocfg.com/features/modules/django-llm/cost-tracking): Automatic cost calculation and monitoring for LLM API calls. - [Image Generation](https://djangocfg.com/features/modules/django-llm/image-generation): Generate images with DALL-E, FLUX and other models using quality presets. - [Media Transport](https://djangocfg.com/features/modules/django-llm/media-transport): Provider-neutral media transport for django-cfg LLM clients — pick the right wire format (data URL, multipart, public URL) per destination, with fail-closed temporary CDN publication and a revoke lifecycle. - [Text Client](https://djangocfg.com/features/modules/django-llm/text-client): LLM client for chat completions, embeddings, streaming, and JSON extraction. - [Translation](https://djangocfg.com/features/modules/django-llm/translation): LLM-powered translation service with automatic language detection, JSON support, two-level caching, and usage statistics. - [Vision & OCR](https://djangocfg.com/features/modules/django-llm/vision): Image analysis and OCR with automatic resizing for token optimization. Save 90% on Vision API costs with pre-resize. - [Django Logging](https://djangocfg.com/features/modules/django-logging): Auto-configuring structured logging with modular per-module log files, daily rotation, debug-aware levels, and sanitized extra context. - [django_mcp — MCP & Admin Chat Agent](https://djangocfg.com/features/modules/django-mcp): Expose Django data to AI agents via Model Context Protocol and embed a streaming chat agent in the Django admin. - [Admin Chat Agent](https://djangocfg.com/features/modules/django-mcp/agent-chat): SSE streaming chat agent embedded in Django admin — how the endpoints, agentic loop, and session history work. - [Architecture](https://djangocfg.com/features/modules/django-mcp/architecture): How django_mcp's MCP protocol server and admin chat agent are structured and share a common tool registry. - [Configuration](https://djangocfg.com/features/modules/django-mcp/configuration): Full reference for DjangoMCPModuleConfig and all nested Pydantic config models for django_mcp. - [Redis & Caching](https://djangocfg.com/features/modules/django-mcp/redis): How django_mcp uses Django's cache backend for query caching, per-session budget tracking, and chat history persistence. - [MCP Tools](https://djangocfg.com/features/modules/django-mcp/tools): Built-in MCP tools, the tool registry, how to create custom tools, and PII redaction. - [django_migrator — Multi-Database Migration Orchestrator](https://djangocfg.com/features/modules/django-migrator): State-validated migration orchestrator that detects schema drift and auto-repairs django_migrations before running Django's migrate command. - [Auto-Repair](https://djangocfg.com/features/modules/django-migrator/auto-repair): How RepairEngine resolves django_migrations drift using fake-apply, fake-rewind, and companion-field detection. - [Configuration](https://djangocfg.com/features/modules/django-migrator/configuration): MigratorOptions fields, database routing rules, and how to configure multi-database setups for django_migrator. - [Drift Detection](https://djangocfg.com/features/modules/django-migrator/drift-detection): How DriftDetector classifies schema drift into three incident types and what each type means for your database. - [Monitor (django_monitor)](https://djangocfg.com/features/modules/django-monitor): Zero-config server-side error tracking with Telegram alerts for Django-CFG. Events are written as JSON lines through the standard logging pipeline — no database, no configuration. - [Frontend devtools (@djangocfg/devtools)](https://djangocfg.com/features/modules/django-monitor/devtools): One frontend package for django-cfg apps — browser error/console capture, batched ingest to django_monitor, and an in-app debug panel. - [Management Commands](https://djangocfg.com/features/modules/django-monitor/management-commands): monitor_status — check whether monitor alerts are active and summarize today's events. - [Ngrok Integration Overview](https://djangocfg.com/features/modules/django-ngrok): Django-CFG overview feature guide. Production-ready ngrok integration overview with built-in validation, type safety, and seamless Django integration. - [Ngrok Configuration Reference](https://djangocfg.com/features/modules/django-ngrok/configuration): Django-CFG configuration feature guide. Production-ready ngrok configuration reference with built-in validation, type safety, and seamless Django integration. - [Ngrok Implementation Guide](https://djangocfg.com/features/modules/django-ngrok/implementation): Django-CFG implementation feature guide. Production-ready ngrok implementation guide with built-in validation, type safety, and seamless Django integration. - [Best Practices & Troubleshooting](https://djangocfg.com/features/modules/django-ngrok/troubleshooting): Django-CFG troubleshooting feature guide. Production-ready best practices & troubleshooting with built-in validation, type safety, and seamless Django integration. - [Webhook Integration Examples](https://djangocfg.com/features/modules/django-ngrok/webhook-examples): Django-CFG webhook examples feature guide. Production-ready webhook integration examples with built-in validation, type safety, and seamless Django integration. - [OG Image Module](https://djangocfg.com/features/modules/django-ogimage): On-the-fly Open Graph image generation for django-cfg. Renders PNG images with PicTex, caches them on disk — no database, no models. - [OG Image Branding & Icons](https://djangocfg.com/features/modules/django-ogimage/branding): Add a logo, site name, or built-in Material icon to any OG image with get_branded_og_url. Includes disk caching and SVG rasterization. - [OG Image Configuration](https://djangocfg.com/features/modules/django-ogimage/configuration): Environment variables and settings for the django-cfg OG image module. - [OG Image Layouts](https://djangocfg.com/features/modules/django-ogimage/layouts): Layout presets for OG image generation — control accent bar, brand overlay, and content position without any custom code. - [OG Image Presets](https://djangocfg.com/features/modules/django-ogimage/presets): Built-in color schemes for OG image generation. Frozen pydantic models with validated hex colors. - [Payments](https://djangocfg.com/features/modules/django-payments): Provider-agnostic one-time payments for django-cfg — Stripe-first checkout, idempotent webhooks, refunds, and reconciliation, wired through a single PaymentsConfig. - [Checkout & API](https://djangocfg.com/features/modules/django-payments/checkout): The payments REST API — creating a checkout, listing payments, the owner resolution seam, and confirming a PaymentIntent from the frontend. - [Payments Configuration](https://djangocfg.com/features/modules/django-payments/configuration): The PaymentsConfig model — provider registry, currency, the ownership and fulfillment seams, and Stripe credentials. - [Payments Management Commands](https://djangocfg.com/features/modules/django-payments/management-commands): The five payments_* management commands — doctor, listen, reconcile, refund, and replay_webhook. - [Payments Data Model](https://djangocfg.com/features/modules/django-payments/models): The Payment and PaymentEvent models — fields, the status lifecycle, minor-units amounts, the ownership seam, and idempotency constraints. - [Payment Providers](https://djangocfg.com/features/modules/django-payments/providers): The provider abstraction — the PaymentProvider interface, the Stripe implementation, and how to register a custom provider. - [Refunds & Reconciliation](https://djangocfg.com/features/modules/django-payments/refunds-reconciliation): Full and partial refunds, and the reconciliation safety net that recovers payments stuck in processing when a webhook is missed. - [Payments Signals & Tasks](https://djangocfg.com/features/modules/django-payments/signals-tasks): The payment_succeeded / payment_failed signals and the RQ background tasks that process webhooks and reconcile stuck payments. - [Payments Webhooks](https://djangocfg.com/features/modules/django-payments/webhooks): How Stripe webhooks are verified, made idempotent, processed asynchronously via RQ, and replayed after a handler fix. - [Django-RQ Background Tasks](https://djangocfg.com/features/modules/django-rq): Production-ready sync/async Redis task queue with built-in monitoring, scheduling, and REST API for django-cfg - [Django-RQ Architecture](https://djangocfg.com/features/modules/django-rq/architecture): Deep dive into Django-RQ architecture, components, and design patterns in django-cfg - [Django-RQ Configuration](https://djangocfg.com/features/modules/django-rq/configuration): Complete configuration guide for Django-RQ in django-cfg with examples and best practices - [Django-RQ Deployment Guide](https://djangocfg.com/features/modules/django-rq/deployment): Production deployment guide for Django-RQ with docker, kubernetes, and cloud platforms - [Django-RQ Examples](https://djangocfg.com/features/modules/django-rq/examples): Real-world examples and usage patterns for Django-RQ in django-cfg projects - [Job Cancellation](https://djangocfg.com/features/modules/django-rq/job-cancellation): Cooperative job cancellation for long-running RQ tasks - [Django-RQ Monitoring](https://djangocfg.com/features/modules/django-rq/monitoring): Complete guide to monitoring Django-RQ jobs, queues, and workers in django-cfg - [/features/modules/django-rq/README](https://djangocfg.com/features/modules/django-rq/README) - [Tailwind CSS Module](https://djangocfg.com/features/modules/django-tailwind): Universal Tailwind CSS CDN layout templates and template tags for Django views, with dark mode support, navbar, theme toggle, and user menu components. - [Telegram Module](https://djangocfg.com/features/modules/django-telegram): Auto-configuring Telegram notification service for sending messages, photos, and documents with rate-limited priority queuing and custom credentials support. - [Telegram Configuration](https://djangocfg.com/features/modules/django-telegram/configuration): Complete reference for TelegramConfig fields including bot credentials, message options, connection settings, and webhook configuration. - [Unfold Admin Module](https://djangocfg.com/features/modules/django-unfold): Complete django-unfold integration with Pydantic-typed configuration, dynamic navigation builder, OKLCH color theming, and system monitoring for the Django admin interface. - [Unfold Module Updates](https://djangocfg.com/features/modules/django-unfold/CHANGELOG): Latest features and improvements to Django-CFG Unfold admin module. - [Modules System Overview](https://djangocfg.com/features/modules/overview): Django-CFG overview feature guide. Production-ready modules system overview with built-in validation, type safety, and seamless Django integration. - [Tools & Utilities](https://djangocfg.com/features/tools): Standalone utility modules in Django-CFG — first-party analytics, currency conversion, and geo/location services you can use independently of the rest of the framework. - [Analytics](https://djangocfg.com/features/tools/analytics): First-party, self-hosted analytics for django-cfg. Pageviews, cookieless sessions, and attribution to your authenticated users. On by default, zero configuration, no extra processes. - [Configuration](https://djangocfg.com/features/tools/analytics/configuration): AnalyticsConfig fields, defaults, and the trade-off behind each one. - [Frontend](https://djangocfg.com/features/tools/analytics/frontend): @djangocfg/analytics — one route listener, N transports. Next.js App Router and React, with GA4 as an optional destination. - [Privacy](https://djangocfg.com/features/tools/analytics/privacy): What analytics collects, what it never stores, and what you still have to decide for GDPR. - [Server events](https://djangocfg.com/features/tools/analytics/server-events): Record trusted, exactly-once analytics events from the Django backend — server-confirmed facts that never touch a browser, with no HTTP endpoint and no fabricated traffic metrics. - [Currency Tool](https://djangocfg.com/features/tools/currency): Django-CFG centralized currency conversion with database-backed exchange rates, automatic updates, MoneyField integration, and QuerySet helpers. - [Currency Configuration](https://djangocfg.com/features/tools/currency/configuration): Configure Django-CFG currency tool with CurrencyConfig - target currency, update intervals, auto-updates, and rate providers. - [Currency Models](https://djangocfg.com/features/tools/currency/models): Django-CFG currency models - CurrencyRate for exchange rates storage and Currency for currency metadata. - [MoneyField Integration](https://djangocfg.com/features/tools/currency/moneyfield): Django-CFG MoneyField - composite field for storing amount + currency with automatic conversion to target currency. - [QuerySet Helpers](https://djangocfg.com/features/tools/currency/queryset-helpers): Django-CFG QuerySet helpers for filtering and sorting by converted currency values in database queries. - [Geo Tool](https://djangocfg.com/features/tools/geo): Django-CFG geographic database with 150k+ cities, LocationField for models, geocoding services, and coordinate-based city resolution. - [LocationField](https://djangocfg.com/features/tools/geo/fields): Django model fields for geographic data - LocationField, CountryField, CityField with auto-properties and admin widgets. - [Geo Models](https://djangocfg.com/features/tools/geo/models): Country, State, City models and DTOs in Django-CFG Geo Tool. - [Geo Services](https://djangocfg.com/features/tools/geo/services): GeoDatabase, geocoding services, and utility functions for geographic data in Django-CFG. - [Next.js App Design Guide](https://djangocfg.com/frontend): Architecture, data layer, SSR, state management, component patterns, and WebSocket integration for Next.js apps in the django-cfg ecosystem. - [Architecture](https://djangocfg.com/frontend/architecture): Canonical directory structure, naming conventions, TypeScript aliases, route definitions, and server vs client component boundaries. - [Component Patterns](https://djangocfg.com/frontend/component-patterns): useMemo data preparation rule, component structure order, context over props, decomposition patterns, and type safety conventions. - [Data Layer](https://djangocfg.com/frontend/data-layer): Generated API clients from Django ViewSets, BaseClient singleton, Zod runtime validation, SWR hooks, and type re-export patterns. - [Recipes](https://djangocfg.com/frontend/recipes): Library-specific patterns and integration guides for commonly used tools in django-cfg Next.js apps. - [Animations](https://djangocfg.com/frontend/recipes/animations): Framer Motion basics — motion components, AnimatePresence for mount/unmount, layout animations, and AnimatedBackground patterns. - [Drag & Drop](https://djangocfg.com/frontend/recipes/dnd): @dnd-kit sortable setup — DndContext, SortableContext, useSortable hook, and arrayMove utility. - [Extensions](https://djangocfg.com/frontend/recipes/extensions): @djangocfg extension packages — standard structure, shared auth via ext-base, adapter pattern (API vs Demo), and self-contained mini-apps. - [Forms](https://djangocfg.com/frontend/recipes/forms): react-hook-form with Zod validation — schema definition, zodResolver setup, field patterns, error display, and API integration. - [Internationalization](https://djangocfg.com/frontend/recipes/i18n): Dual provider i18n architecture — 17 built-in locales, namespace isolation, typed hooks, 6 consumption patterns, and LLM-powered translation CLI. - [Tailwind v4](https://djangocfg.com/frontend/recipes/tailwind-v4): Tailwind CSS v4 migration — @import instead of @tailwind, CSS-first @theme config, broken opacity modifier workaround, and arbitrary value changes. - [UI Components](https://djangocfg.com/frontend/recipes/ui-components): @djangocfg UI package hierarchy — 136 components, import patterns, DRF pagination integration, and sidebar system. - [Zustand](https://djangocfg.com/frontend/recipes/zustand): Zustand store patterns — standard store, slice architecture, zundo undo/redo, 60fps module-level refs, persistence, and global store reset. - [SSR & Hydration](https://djangocfg.com/frontend/ssr-hydration): Server Component data fetching with SWR initialData hydration, force-dynamic for auth pages, client-only rendering, and metadata generation. - [State Management](https://djangocfg.com/frontend/state-management): Context architecture with standard templates, provider composition, URL-first filter state, and guidelines for choosing between Context, Zustand, and URL state. - [WebSocket](https://djangocfg.com/frontend/websocket): Centrifugo WebSocket integration — provider setup, subscription patterns, RPC client, channel naming, and stale closure prevention. - [Getting Started](https://djangocfg.com/getting-started): Get started with Django-CFG - the type-safe Django configuration framework - [Configuration Guide](https://djangocfg.com/getting-started/configuration): Learn configuration in Django-CFG. Step-by-step guide with environment variables, pydantic-settings, and production-ready patterns. - [Django-CFG vs Alternatives - Complete Comparison Guide](https://djangocfg.com/getting-started/django-cfg-vs-alternatives): Comprehensive comparison of Django-CFG vs django-environ, python-decouple, pydantic-settings, and traditional settings.py. Feature matrix, migration paths, and decision guide. - [Your First Django-CFG Project](https://djangocfg.com/getting-started/first-project): Learn first project in Django-CFG. Step-by-step guide to your first django-cfg project with code examples, best practices, and production-ready configuration. - [Installation](https://djangocfg.com/getting-started/installation): Install Django-CFG and create your first project - [Django-CFG - Type-Safe Django Configuration](https://djangocfg.com/getting-started/intro): Learn intro in Django-CFG. Step-by-step guide to django-cfg - type-safe django configuration with code examples, best practices, and production-ready configuration. - [Why Django-CFG?](https://djangocfg.com/getting-started/why-django-cfg): Learn why django cfg in Django-CFG. Step-by-step guide to why django-cfg? with code examples, best practices, and production-ready configuration. - [Guides & Examples](https://djangocfg.com/guides): Practical guides and examples for Django-CFG - [AI Integration Guide](https://djangocfg.com/guides/ai-integration): Django-CFG ai integration guide. Practical tutorial for ai integration guide with real-world examples, troubleshooting tips, and production patterns. - [AI MCP Integration](https://djangocfg.com/guides/ai-mcp): Getting started with the Model Context Protocol (MCP) module — connect AI agents to your Django-CFG project in minutes. - [App Design Guide](https://djangocfg.com/guides/app-design) - [Admin Configuration](https://djangocfg.com/guides/app-design/admin): Admin configuration for Django-CFG apps using PydanticAdmin and AdminConfig. Display fields, badges, actions, fieldsets, and read-only admin patterns. - [App Structure](https://djangocfg.com/guides/app-design/app-structure): Standard directory structure for Django-CFG apps. How to organize models, views, services, admin, and tests for maintainable, scalable applications. - [Managers & QuerySets](https://djangocfg.com/guides/app-design/managers): Custom Manager and QuerySet patterns for Django-CFG apps. Chainable filters, prefetch helpers, and when to use managers vs services. - [Models](https://djangocfg.com/guides/app-design/models): Model design patterns for Django-CFG apps. UUID primary keys, TextChoices, computed properties, constraints, and relationship patterns with real examples. - [Serializers](https://djangocfg.com/guides/app-design/serializers): Serializer patterns for Django-CFG apps. Naming conventions, action-specific serializers, nested fields, wrapper responses, and validation patterns. - [Service Layer](https://djangocfg.com/guides/app-design/services): Service layer patterns for Django-CFG apps. When to use services, transaction handling, return types, and real examples from production code. - [Background Tasks](https://djangocfg.com/guides/app-design/tasks): Background task patterns for Django-CFG apps. Function-based tasks, enqueue from ViewSets, task orchestration folder, and best practices. - [Testing](https://djangocfg.com/guides/app-design/testing): Testing patterns for Django-CFG apps. What to test, test directory structure, factories, fixtures, and the check_endpoints command. - [URL Routing](https://djangocfg.com/guides/app-design/urls-routing): URL routing patterns for Django-CFG apps. DefaultRouter setup, path-parameter actions, nested routers, and URL naming conventions. - [ViewSets & Actions](https://djangocfg.com/guides/app-design/viewsets): ViewSet patterns for Django-CFG apps. GenericViewSet + @action, selective mixins, dynamic permissions, query optimization, and drf-spectacular integration. - [10 Django Configuration Problems Solved by Type-Safe Config](https://djangocfg.com/guides/django-configuration-problems-solved): Common Django configuration problems and solutions using type-safe Pydantic models. Fix environment variable issues, CORS misconfiguration, database errors, and more. - [Django Runtime Guide](https://djangocfg.com/guides/django-runtime): Django-specific runtime patterns. Async ORM, Channels WebSocket, ASGI configuration, Django testing, and production quality gates. - [Async ORM](https://djangocfg.com/guides/django-runtime/async-orm): Django async ORM operations — a-prefixed methods, async for iteration, context detection, sync/async bridges, and common runtime errors. - [Channels & ASGI](https://djangocfg.com/guides/django-runtime/channels-asgi): Django Channels setup — ASGI configuration, AsyncWebsocketConsumer lifecycle, channel groups, WebSocket authentication, and URL routing. - [Django Testing](https://djangocfg.com/guides/django-runtime/django-testing): Django-specific testing patterns — pytest.mark.django_db for async tests, AsyncClient, WebsocketCommunicator, and sync_to_async bridge testing. - [Quality Gates](https://djangocfg.com/guides/django-runtime/quality-gates): Quality gates for Django projects — Foundation, Production, and Enterprise levels with zero-tolerance violations, automated checks, and Prometheus monitoring. - [Route Debug Middleware](https://djangocfg.com/guides/django-runtime/route-debug): Diagnose 404 errors and misconfigured URL routers in Django with RouteDebugMiddleware. Logs request path, HTTP method, referer, and candidate URL patterns. - [Docker](https://djangocfg.com/guides/docker) - [Docker Build Optimization](https://djangocfg.com/guides/docker/build-optimization): Critical Docker build lessons learned from Django-CFG development. Optimize multi-stage builds, reduce context size, and fix common issues. - [Docker Configuration Strategy](https://djangocfg.com/guides/docker/configuration): Master Django-CFG configuration in Docker with environment variables and pydantic-settings. Modern, simple, and production-ready. - [Docker Development Setup](https://djangocfg.com/guides/docker/development): Set up Django-CFG development environment with Docker Compose. Complete guide with service configuration, common tasks, and troubleshooting. - [Docker Setup Overview](https://djangocfg.com/guides/docker/overview): Deploy Django-CFG with Docker. Complete guide to containerized Django deployment with Docker Compose, multi-service architecture, and production best practices. - [Production Docker Setup](https://djangocfg.com/guides/docker/production): Deploy Django-CFG with docker production. Complete deployment guide for production docker setup with Docker, environment configuration, and production best practices. - [Docker Troubleshooting](https://djangocfg.com/guides/docker/troubleshooting): Quick solutions for common Docker issues with Django-CFG. Fix build failures, connection problems, and configuration issues. - [Django-CFG Examples](https://djangocfg.com/guides/examples): Django-CFG examples guide. Practical tutorial for django-cfg examples with real-world examples, troubleshooting tips, and production patterns. - [Django-CFG FAQ - Frequently Asked Questions](https://djangocfg.com/guides/faq): Comprehensive FAQ about Django-CFG type-safe configuration. Installation, features, comparison with alternatives, migration guide, troubleshooting, and best practices. - [Migration Guide](https://djangocfg.com/guides/migration-guide): Django-CFG migration guide guide. Practical tutorial for migration guide with real-world examples, troubleshooting tips, and production patterns. - [Module Design Guide](https://djangocfg.com/guides/module-design): Python module and package design patterns. Architecture, data models, async, error handling, testing, DI, resilience, and performance. - [Module Architecture](https://djangocfg.com/guides/module-design/architecture): Python module architecture patterns. Directory structure, 4-layer design, size limits, public API facade, naming conventions, and dependency flow. - [Async & Concurrency](https://djangocfg.com/guides/module-design/async-patterns): Async programming patterns for Python modules. Async functions, gather, semaphores, dual API, streaming, background tasks, and graceful shutdown. - [Code Style](https://djangocfg.com/guides/module-design/code-style): Code style guide for Python modules. Naming conventions, type annotations, formatting, docstrings, function and class guidelines, and tooling. - [Dependency Injection](https://djangocfg.com/guides/module-design/dependency-injection): Dependency injection patterns for Python modules. Protocols, constructor injection, factories, containers, testability, and anti-patterns. - [Error Handling](https://djangocfg.com/guides/module-design/error-handling): Error handling patterns for Python modules. Exception hierarchy, error codes, handler decorators, retry with backoff, fallback, and structured logging. - [Performance](https://djangocfg.com/guides/module-design/performance): Performance optimization for Python modules. Async patterns, memory efficiency, caching strategies, database optimization, and profiling. - [Pydantic v2 Models](https://djangocfg.com/guides/module-design/pydantic-models): Pydantic v2 patterns for Python modules. Model categories, validation, serialization, computed fields, discriminated unions, and v1 migration. - [Quick Reference](https://djangocfg.com/guides/module-design/quick-reference): Quick reference for Python module design. Pydantic v2 migration table, code templates, size limits, anti-pattern mapping, and command cheat sheet. - [Refactoring Checklist](https://djangocfg.com/guides/module-design/refactoring): Step-by-step refactoring process for Python modules. 8 phases from analysis to final validation, commit strategy, and rollback plan. - [Resilience Patterns](https://djangocfg.com/guides/module-design/resilience): Resilience patterns for Python modules. Circuit breaker, retry with backoff, timeout, bulkhead isolation, rate limiting, and health checks. - [Testing](https://djangocfg.com/guides/module-design/testing): Testing framework for Python modules. Directory structure, pytest setup, unit/integration/performance tests, mocking, factories, and CI configuration. - [Type Checking with Pyright](https://djangocfg.com/guides/module-design/type-checking): Configure Pyright for Django projects. Suppress django-stubs false positives while keeping real errors visible. Includes pyrightconfig.json for django-cfg. - [Multi-Database Setup](https://djangocfg.com/guides/multi-database): Django-CFG multi database guide. Practical tutorial for multi-database setup with real-world examples, troubleshooting tips, and production patterns. - [Production Configuration](https://djangocfg.com/guides/production-config): Django-CFG production config guide. Practical tutorial for production configuration with real-world examples, troubleshooting tips, and production patterns. - [Sample Project](https://djangocfg.com/guides/sample-project) - [Admin Interface](https://djangocfg.com/guides/sample-project/admin-interface): Modern admin interface with Unfold theme and custom dashboards in Django-CFG - [API Documentation](https://djangocfg.com/guides/sample-project/api-documentation): Auto-generated REST API with OpenAPI schema and Swagger UI in Django-CFG - [Authentication System](https://djangocfg.com/guides/sample-project/authentication): OTP-based authentication and user management in Django-CFG sample project - [Configuration Setup](https://djangocfg.com/guides/sample-project/configuration): Complete guide to type-safe configuration management in the Django-CFG sample project - [Deployment Guide](https://djangocfg.com/guides/sample-project/deployment): Production deployment with Docker and best practices for Django-CFG sample project - [Multi-Database Setup](https://djangocfg.com/guides/sample-project/multi-database): Comprehensive guide to multi-database architecture and automatic routing in Django-CFG - [Sample Project Overview](https://djangocfg.com/guides/sample-project/overview): Introduction to the comprehensive Django-CFG sample project demonstrating all features and best practices - [Project Structure](https://djangocfg.com/guides/sample-project/project-structure): Deep dive into the Django-CFG sample project folder structure and organization - [Service Integrations](https://djangocfg.com/guides/sample-project/service-integrations): Integration with external services - Telegram in Django-CFG - [Testing](https://djangocfg.com/guides/testing): Django-CFG testing infrastructure — zero-config test database management, smart migration handling, and CI/CD integration. - [Migration Internals](https://djangocfg.com/guides/testing/migration-internals): Deep-dive into how Django creates test databases and the root causes of "No migrations to apply", "column does not exist", and StateApps failures. - [Testing Overview](https://djangocfg.com/guides/testing/overview): Zero-config test database management in Django-CFG. Automatic cleanup, PostgreSQL extension installation, and smart migration handling out of the box. - [test_db Command](https://djangocfg.com/guides/testing/test-db-command): Django management command for inspecting, cleaning up, and resetting test databases. Useful in CI/CD pipelines and for local debugging. - [Test Runners](https://djangocfg.com/guides/testing/test-runners): SmartTestRunner and FastTestRunner — the test runners built into Django-CFG with automatic migration handling. - [Troubleshooting Guide](https://djangocfg.com/guides/troubleshooting): Django-CFG troubleshooting guide. Practical tutorial for troubleshooting guide with real-world examples, troubleshooting tips, and production patterns. - [Updates](https://djangocfg.com/updates): Latest news, releases, and security advisories for DjangoCFG - [Blog](https://djangocfg.com/updates/blog): Technical articles, guides, and insights about Django-CFG - [The $7,600 Configuration Debt: How AI Cuts Django SaaS Setup from 3 Weeks to 30 Seconds](https://djangocfg.com/updates/blog/django-configuration-debt-analysis): Comprehensive analysis of Django SaaS infrastructure setup costs. Learn how AI automation eliminates 134 hours of configuration work, saves $7,638, and reduces time-to-production from weeks to seconds. - [Django Multi-Tenancy ROI: Schema vs Shared Performance Data](https://djangocfg.com/updates/blog/django-multi-tenancy-architecture-roi): Data-driven Django multi-tenancy decision guide with production benchmarks, cost analysis, and security insights. Schema vs shared database performance for SaaS at scale. - [Django Performance: 10x Faster with 7 Proven Production Tips](https://djangocfg.com/updates/blog/django-performance-optimization-guide): Cut Django response times from 4s to 330ms. Proven techniques with real benchmarks: N+1 query fixes, connection pooling, caching strategies, and memory optimization for production apps. - [Django SaaS TCO: $325K Saved Over 5 Years with Smart Setup](https://djangocfg.com/updates/blog/django-saas-total-cost-ownership): Complete Django SaaS total cost of ownership analysis: Save 43% on infrastructure, development, and hidden costs. Real-world cost breakdowns, 5-year projections, and AI-powered optimization strategies. - [Releases](https://djangocfg.com/updates/releases): Release notes and version history for Django-CFG - [Release v1.4.42](https://djangocfg.com/updates/releases/v1-4-42): Security update with Next.js 15.5.7 and dependency updates - [Release v2.2.109](https://djangocfg.com/updates/releases/v2-2-109): HTTP email-gateway backend, system-email subscribe footer, and marketing-consent capture through the OTP flow - [Release v2.2.119](https://djangocfg.com/updates/releases/v2-2-119): Server-side analytics events, persistent sessions, LLM media transport, healthz liveness/readiness split, and a name-based frontend CSP — the user-facing changes since 2.2.109. - [Security Advisories](https://djangocfg.com/updates/security): Security updates and vulnerability disclosures for Django-CFG - [CVE-2025-55184 & CVE-2025-55183: Next.js DoS and Source Code Exposure](https://djangocfg.com/updates/security/nextjs-cve-2025-55184-55183): High-severity Denial of Service and medium-severity Source Code Exposure vulnerabilities in React Server Components. Immediate update required. - [CVE-2025-66478: Critical Next.js RCE Vulnerability](https://djangocfg.com/updates/security/nextjs-cve-2025-66478): Critical vulnerability in React Server Components allowing remote code execution. Immediate update required.