Overview

Request 1059955 accepted

- 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
`__.
* 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``.

Request History
Dirk Mueller's avatar

dirkmueller created request

- 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
`__.
* 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

dimstar_suse added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:47"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:47"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:47 got accepted.

openSUSE Build Service is sponsored by