django-upgrade 1.24.0 is out!
* Automatic target Django version detection from pyproject.toml!
No need to specify `--target-version` any more or keep it in sync.
* Two minor fixers for Django 5.2 - expected next month!
* Restoration of a Django 5.0 fixer for enumeration type choices.
* A niche import fix for a move in Django 2.1.
Thanks to Thibaut Decombe for contributing the latter two features.
Please test!
Changelog: https://github.com/adamchainz/django-upgrade/blob/main/CHANGELOG.rst