← All repositories

djangodjango

86,891 stars33,652 forksPythonbsd-3-clause1 view
www.djangoproject.com

Django

Features

  • Object-Relational MappersDefining complex data models and managing persistent records through an object-relational mapping layer that handles migrations and database transactions.
  • Object-Relational Mapping LayersA database abstraction interface that maps application models to relational tables, automating schema migrations and complex query execution across multiple backends.
  • Database Query OptimizationsDatabase Optimization — a named example documented in this learning resource.
  • Geospatial Database IntegrationsGeoDjango Overview — a named example documented in this learning resource.
  • Defensive Security MiddlewaresA collection of modular request-processing components that enforce defensive policies against common web vulnerabilities like cross-site request forgery and clickjacking.
  • Web Security MiddlewareDefend web applications against common vulnerabilities like cross-site request forgery and clickjacking by applying built-in security middleware and cryptographic tools to protect sensitive user data.
  • Security Best PracticesSecurity Overview — a named example documented in this learning resource.
  • Cookie Security PoliciesSet this to `True` to avoid transmitting the CSRF cookie over HTTP accidentally.
  • Content Security PoliciesContent Security Policy — a named example documented in this learning resource.
  • Transport Layer Security PoliciesAny website which allows users to log in should enforce site-wide HTTPS to avoid transmitting access tokens in clear. In Django, access tokens include the login/password, the session cookie, and password reset tokens. (Y
  • Rapid Application Development FrameworksBuilding data-driven web applications quickly by leveraging built-in administrative interfaces, ORM layers, and modular components for common backend tasks.
  • Application Performance TuningImprove application speed and resource efficiency by implementing caching strategies, refining database queries, and streamlining code execution to reduce latency and server load.
  • SignalsSignals Overview — a named example documented in this learning resource.
  • Middleware PatternsWriting Custom Middleware — a named example documented in this learning resource.
  • Request-Response Lifecycle HandlersHandle incoming HTTP traffic and return responses using modular view functions, middleware, and built-in file upload utilities to manage the full request-response lifecycle.
  • Full-Stack Web FrameworksA comprehensive development environment providing integrated tools for database management, request handling, template rendering, and security to build complex web applications.
  • Middleware PipelinesProcesses incoming HTTP traffic through a series of modular hooks that intercept, modify, or terminate requests before reaching the view.
  • Regex-Based URL DispatchersMaps incoming request paths to specific view functions using regular expression patterns to decouple the site structure from the underlying implementation.
  • Declarative Form SchemasDefines data input structures as class-based schemas that automatically handle sanitization, type conversion, and error reporting for user-submitted content.
  • Validated Web FormsBuild and validate web forms using built-in field types and model-integrated handling to ensure accurate data submission and consistent user input across the application.
  • Static File ManagersStatic Files Management — a named example documented in this learning resource.
  • Signal-Based ObserversImplements an observer pattern that allows decoupled application components to trigger and respond to specific events without direct code dependencies.
  • Localization UtilitiesLocalizing application content, date formats, and time zones to provide a seamless and culturally relevant experience for users worldwide.
  • Middleware HooksMiddleware Hooks — a named example documented in this learning resource.
  • Administrative Site GeneratorsDjango Admin Site — a named example documented in this learning resource.
  • Admin Dashboard GeneratorsGenerate production-ready administrative interfaces to manage application data and user content through automated dashboards that simplify backend operations for non-technical users.
  • Metadata-Driven InterfacesGenerates dynamic management interfaces by inspecting model definitions and field metadata to provide automated CRUD operations for application data.
  • Administrative ActionsAdmin Actions — a named example documented in this learning resource.
  • Automated Admin DashboardsA generated management interface that provides immediate, secure access to application data and administrative operations without requiring custom frontend development.
  • Server-Side Template EnginesGenerate HTML content dynamically using a template language that supports custom tags, filters, and backend extensions to separate presentation logic from core application code.
  • Sandboxed Template EnginesSeparates presentation logic from backend code by parsing custom markup into dynamic HTML through a sandboxed, extensible rendering engine.
  • Dynamic HTML Template RenderersSeparating presentation logic from core business code by generating server-side HTML content using a flexible and extensible templating engine.