python Django Weblog ·

Django 6.1 Released with Model Field Fetch Modes and DB Delete Options

blogengineerpython-web
feature deprecation

Django 6.1 introduces new features including model field fetch modes for on-demand fetching and database-level delete options for ForeignKey. These updates aim to improve usability and control over data operations. This release affects developers using Django, with Django 6.0 now entering end-of-mainstream-support and scheduled for security fixes until April 2027. Users are encouraged to upgrade to 6.1.

  • Model Field Fetch Modes for On-Demand Fetching
  • Database-Level Delete Options for ForeignKey
  • Dictionary-Based Email Settings
  • Django 6.0 Reaches End of Mainstream Support
  • Release Availability and PGP Key
Deprecations (1)
  • Django 6.0 Reaches End of Mainstream Support

    With the release of Django 6.1, Django 6.0 has reached the end of its mainstream support. Security and data loss fixes for 6.0 will continue until April 2027.

Features (3)
  • Model Field Fetch Modes for On-Demand Fetching

    Django 6.1 includes a new feature for configuring on-demand fetching behavior for model fields.

  • Database-Level Delete Options for ForeignKey

    The release introduces database-level delete options for ForeignKey, enhancing control over cascade deletion behavior.

  • Dictionary-Based Email Settings

    Django 6.1 now supports dictionary-based settings for email configurations, simplifying setup and management.

Notes (1)
  • Release Availability and PGP Key

    Django 6.1 is available from the downloads page and the Python Package Index. The PGP key for this release is Jacob Walls: 131403F4D16D8DC7.

Read the original announcement →

https://www.djangoproject.com/weblog/2026/aug/05/django-61-released/

Related releases