Changelog
### 1.19.0
```
-------------------
* Add Django 4.2+ fixer to rewrite ``index_together`` declarations into ``indexes`` declarations in model ``Meta`` classes.
This fixer can make changes that require migrations.
Add a `test for pending migrations <https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/>`__ to ensure that you do not miss these.
`PR 464 <https://github.com/adamchainz/django-upgrade/pull/464>`__.
* Fix tracking of AST node parents.
This may have fixed some subtle bugs in these fixers:
* ``admin_register``
* ``assert_form_error``
* ``default_app_config``
* ``management_commands``
* ``request_headers``
* ``settings_database_postgresql``
* ``settings_storages``
* ``testcase_databases``
* ``use_l10n``
* ``utils_timezone``
If you see any new changes, or had them previously disabled, please report an issue so we can extra tests to the test suite.
`PR 465 <https://github.com/adamchainz/django-upgrade/pull/465>`__.
```
Links
- PyPI: https://pypi.org/project/django-upgrade
- Changelog: https://data.safetycli.com/changelogs/django-upgrade/
This PR updates django-upgrade from 1.18.0 to 1.19.0.
Changelog
### 1.19.0 ``` ------------------- * Add Django 4.2+ fixer to rewrite ``index_together`` declarations into ``indexes`` declarations in model ``Meta`` classes. This fixer can make changes that require migrations. Add a `test for pending migrations <https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/>`__ to ensure that you do not miss these. `PR 464 <https://github.com/adamchainz/django-upgrade/pull/464>`__. * Fix tracking of AST node parents. This may have fixed some subtle bugs in these fixers: * ``admin_register`` * ``assert_form_error`` * ``default_app_config`` * ``management_commands`` * ``request_headers`` * ``settings_database_postgresql`` * ``settings_storages`` * ``testcase_databases`` * ``use_l10n`` * ``utils_timezone`` If you see any new changes, or had them previously disabled, please report an issue so we can extra tests to the test suite. `PR 465 <https://github.com/adamchainz/django-upgrade/pull/465>`__. ```Links
- PyPI: https://pypi.org/project/django-upgrade - Changelog: https://data.safetycli.com/changelogs/django-upgrade/