python-django-upgrade
Automatically upgrade your Django projects
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / python-django-upgrade
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python:django/python-django-upgrade && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
django-upgrade-1.13.0.tar.gz | 0000063088 61.6 KB | |
python-django-upgrade.changes | 0000003979 3.89 KB | |
python-django-upgrade.spec | 0000002274 2.22 KB |
Revision 7 (latest revision is 18)
Dirk Mueller (dirkmueller)
committed
(revision 7)
- update to 1.13.0: * Add Django 4.2+ fixer to combine deprecated ``DEFAULT_FILE_STORAGE`` and ``STATICFILES_STORAGE`` settings into the new ``STORAGES`` setting. * Add Django 4.2+ fixer to rewrite HTTP headers passed to test ``Client`` and ``RequestFactory``. * Add Django 4.2+ fixer to rewrite test case methods ``assertFormsetError()`` and ``assertQuerysetEqual()`` into the new spellings with capitalized “Set”. * Add Django 4.0 fixer to rewrite ``django.contrib.admin.utils.lookup_needs_distinct`` -> ``lookup_spawns_duplicates``. * Rewrite ``request.META`` -> ``request.headers`` on the *right hand side* of assignments. * Group some compatibility import replacements into a single “fixer”, optimizing runtime by about 3%.
Comments 0