django-codemod
django-codemod copied to clipboard
A tool to automatically fix Django deprecations.
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/browniebroke/django-codemod). ## Config Migration Needed - [ ]...
SUSE Tumbleweed has updated django to 4.0, and while fixing django packages I've noticed a lot of packages are failing with this. e.g. https://build.opensuse.org/package/show/home:jayvdb:branches:devel:languages:python:django/python-django-avatar https://docs.djangoproject.com/en/dev/releases/4.0/ > See Features deprecated in...
**Is your feature request related to a problem? Please describe.** When running djcodemod in a build worker, it would be useful to show the changes it made so the logs...
**Is your feature request related to a problem? Please describe.** LibCST 0.3.18 added a `FullyQualifiedNameProvider` which seems like it could help us simplify our checks for imported symbols: https://libcst.readthedocs.io/en/latest/metadata.html#libcst.metadata.FullyQualifiedNameProvider **Describe...
### Description From [Django 2.0 release notes](https://docs.djangoproject.com/en/dev/releases/2.0/#deprecated-features-2-0): > The context argument of Field.from_db_value() and Expression.convert_value() is unused as it’s always an empty dictionary. > > The signature of both methods...
### Description From [Django 2.0 release notes](https://docs.djangoproject.com/en/dev/releases/2.0/#deprecated-features-2-0): > The field_name keyword argument to `QuerySet.earliest()` and `QuerySet.latest()` is deprecated in favor of passing the field names as arguments. Write `.earliest('pub_date')` instead...
Occurs in the test suite of https://github.com/pmac/django-redirect-urls/ , but I have seen it frequently in test suites which havent been updated to use pytest. ```py cls = @classmethod def _validate_databases(cls):...
### Description Hello @browniebroke thanks for this project it looks promising! I believe it can greatly accelerate the speed of adoptions of newly released versions of Django. I was wondering...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action