Revisions of python-django-upgrade

buildservice-autocommit accepted request 1165950 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 15)
- update to 1.16.0:
  * Remove the Django 5.0+ fixer that dropped .choices from model
    field choices parameters. It was too unreliable because it
    could break use for “DIY” enumeration types.
  * Remove the Django 5.0+ fixer that dropped .choices from model
    field choices parameters. It was too unreliable because it
    could break use for “DIY” enumeration types.
  * Add Django 1.10+ fixer to rewrite request.user functions that
    changed to boolean attributes: is_authenticated and
    is_anonymous.
  * Add Django 1.10+ fixer to rewrite request.user functions that
    changed to boolean attributes: is_authenticated and
    is_anonymous.
  * Add Django 2.0+ imports fixes for names moved from
    django.core.urlresolvers to django.urls.
  * Add Django 2.0+ imports fixes for names moved from
    django.core.urlresolvers to django.urls.
buildservice-autocommit accepted request 1130488 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 14)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 13)
- update to 1.15.0:
  * Support Django 5.0 as a target version.
  * Add Django 5.0+ fixer to drop ``.choices`` on model field
    ``choices`` parameters when using an enumeration type.
  * Add some compatibility import replacements for Django 4.0 and
    below.
  * Fix issue with ``@admin.register()`` checker
buildservice-autocommit accepted request 1110366 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 11)
- update to 1.14.1:
  * Fix bug in ``STORAGES`` fixer when only one of
    ``DEFAULT_FILE_STORAGE`` or ``STATICFILES_STORAGE`` was
    defined.
buildservice-autocommit accepted request 1098172 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 9)
- update to 1.14.0:
  * Support Python 3.12.
buildservice-autocommit accepted request 1075479 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
baserev update by copy to link target
Dirk Mueller's avatar 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%.
buildservice-autocommit accepted request 1059955 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 6)
baserev update by copy to link target
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 5)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 4)
- update to 1.12.0:
  * Make ``re_path`` -> ``path`` fixer also convert ``include()``\'s with
    unterminated regexes.
  * Avoid rewriting ``request.META`` to ``request.headers`` in ``del``
    statements.
  * Add Django 1.9+ fixer to rename the legacy engine name
    ``django.db.backends.postgresql_psycopg2`` in ``settings.DATABASES`` to
    ``django.db.backends.postgresql``.
  * Make detection of management commands and migration files detect both
    forward and backward slashes as directory separators.
- update to 1.11.0:
  * See also `the release blog post
    <https://adamj.eu/tech/2022/10/26/django-upgrade-mega-release/>`__.
  * Add Django 1.7+ fixer to rewrite ``admin.site.register()`` calls into
    ``@admin.register()`` when eligible.
  * Add Django 3.2+ fixer to rewrite admin action function attributes to use
    the ``@admin.action()`` decorator.
  * Add Django 3.2+ fixer to rewrite admin display function attributes to
    use the ``@admin.display()`` decorator.
  * Add Django 4.1+ fixer to rewrite calls to test case methods
    ``assertFormError()`` and ``assertFormsetError()`` from their old
    signatures to the new ones.
  * Add Django 2.0+ fixer to drop assignments of ``allow_tags`` attributes
    to ``True``.
  * Add Django 3.1+ fixer to replace ``list`` error message key with
    ``list_invalid`` on ``ModelMultipleChoiceField``.
  * Make ``request.headers`` fixer also rewrite accesses of the ``content-
    length`` and ``content-type`` headers.
  * Extend ``request.headers`` fixer to rewrite ``in`` and ``not in``
    comparisons on ``request.META``.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1000651 from John Vandenberg's avatar John Vandenberg (jayvdb) (revision 3)
initialized devel package after accepting 1000651
John Vandenberg's avatar John Vandenberg (jayvdb) accepted request 1000650 from John Vandenberg's avatar John Vandenberg (jayvdb) (revision 2)
- Update to v1.9.0
John Vandenberg's avatar John Vandenberg (jayvdb) accepted request 942860 from John Vandenberg's avatar John Vandenberg (jayvdb) (revision 1)
Useful tool for upgrading to Django 4
Displaying all 16 revisions
openSUSE Build Service is sponsored by