cookiecutter / cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.
https://cookiecutter-django.readthedocs.io
BSD 3-Clause "New" or "Revised" License
11.76k stars 2.83k forks source link

Update django-upgrade to 1.19.0 #5171

Closed pyup-bot closed 3 days ago

pyup-bot commented 6 days ago

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/