239 lines
2.8 KiB
Plaintext
239 lines
2.8 KiB
Plaintext
|
============================================
|
||
|
Django 4.2 release notes - UNDER DEVELOPMENT
|
||
|
============================================
|
||
|
|
||
|
*Expected April 2023*
|
||
|
|
||
|
Welcome to Django 4.2!
|
||
|
|
||
|
These release notes cover the :ref:`new features <whats-new-4.2>`, as well as
|
||
|
some :ref:`backwards incompatible changes <backwards-incompatible-4.2>` you'll
|
||
|
want to be aware of when upgrading from Django 4.1 or earlier. We've
|
||
|
:ref:`begun the deprecation process for some features
|
||
|
<deprecated-features-4.2>`.
|
||
|
|
||
|
See the :doc:`/howto/upgrade-version` guide if you're updating an existing
|
||
|
project.
|
||
|
|
||
|
Python compatibility
|
||
|
====================
|
||
|
|
||
|
Django 4.2 supports Python 3.8, 3.9, 3.10, and 3.11. We **highly recommend**
|
||
|
and only officially support the latest release of each series.
|
||
|
|
||
|
.. _whats-new-4.2:
|
||
|
|
||
|
What's new in Django 4.2
|
||
|
========================
|
||
|
|
||
|
Minor features
|
||
|
--------------
|
||
|
|
||
|
:mod:`django.contrib.admin`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.admindocs`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.auth`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.contenttypes`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.gis`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.messages`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.postgres`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.redirects`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.sessions`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.sitemaps`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.sites`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.staticfiles`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
:mod:`django.contrib.syndication`
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Cache
|
||
|
~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
CSRF
|
||
|
~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Decorators
|
||
|
~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Email
|
||
|
~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Error Reporting
|
||
|
~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
File Storage
|
||
|
~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
File Uploads
|
||
|
~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Forms
|
||
|
~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Generic Views
|
||
|
~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Internationalization
|
||
|
~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Logging
|
||
|
~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Management Commands
|
||
|
~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Migrations
|
||
|
~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Models
|
||
|
~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Requests and Responses
|
||
|
~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Security
|
||
|
~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Serialization
|
||
|
~~~~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Signals
|
||
|
~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Templates
|
||
|
~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Tests
|
||
|
~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
URLs
|
||
|
~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Utilities
|
||
|
~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Validators
|
||
|
~~~~~~~~~~
|
||
|
|
||
|
* ...
|
||
|
|
||
|
.. _backwards-incompatible-4.2:
|
||
|
|
||
|
Backwards incompatible changes in 4.2
|
||
|
=====================================
|
||
|
|
||
|
Database backend API
|
||
|
--------------------
|
||
|
|
||
|
This section describes changes that may be needed in third-party database
|
||
|
backends.
|
||
|
|
||
|
* ...
|
||
|
|
||
|
Miscellaneous
|
||
|
-------------
|
||
|
|
||
|
* ...
|
||
|
|
||
|
.. _deprecated-features-4.2:
|
||
|
|
||
|
Features deprecated in 4.2
|
||
|
==========================
|
||
|
|
||
|
Miscellaneous
|
||
|
-------------
|
||
|
|
||
|
* ...
|