Automatically upgrade your Django projects. django-upgrade | Opensource Findings
Automatically upgrade your Django projects.
django-upgrade is a commandline tool that rewrites files in place. Pass your Django version as . to the --target-version flag and the fixers will rewrite code to avoid DeprecationWarnings on that version of Django. For example: django-upgrade --target-version 3.2 example/core/models.py example/settings.py
Features: - Compatibility imports - url() to path() migration - HttpRequest.headers - QuerySetPaginator - Better tests - And many others!
Links and concise reviews on open-source tools, news, and talks about language-design, trends and fundamentals. Write-only. If you like this project, you can sponsor it directly: https://github.com/sp...