-------------------
* Parse target Django version from ``pyproject.toml``.
Now, if you don’t specify a version with ``--target-version``, django-upgrade will try to parse your minimum-supported target Django version from ``project.dependencies`` in ``pyproject.toml``.
It supports several common formats, like ``django>=5.2,<6.0``.
* Add Django 5.2+ fixer ``postgres_aggregate_order_by`` to rewrite PostgreSQL aggregate functions using the old argument name ``ordering`` to the new name ``order_by``.
* Add Django 5.2+ fixer ``staticfiles_find_all`` to rewrite calls to the staticfiles ``find()`` function using the old argument name ``all`` to the new name ``find_all``.
* Restore Django 5.0+ fixer ``model_field_choices``, with a restriction to only apply when the enumeration type is defined in the same file.
Thanks to Thibaut Decombe for initially contributing it in `PR 369 <https://github.com/adamchainz/django-upgrade/pull/369>`__.
* Add Django 2.0+ compatibility import rewrite of `django.http.cookie.SimpleCookie` to `http.cookies.SimpleCookie`.
Thanks to Thibaut Decombe in `PR 537 <https://github.com/adamchainz/django-upgrade/pull/537>`__.