mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Revert "Fixed #23892 -- Made deconstructible classes forwards compatible"
This reverts commit f36151ed16.
Adding kwargs to deconstructed objects does not achieve useful
forward-compatibility in general, since additional arguments are silently
dropped rather than having their intended effect. In fact, it can make the
failure more difficult to diagnose. Thanks Shai Berger for discussion.
This commit is contained in:
@@ -77,7 +77,3 @@ Bugfixes
|
||||
|
||||
* Fixed a crash in migrations when deleting a field that is part of a
|
||||
``index/unique_together`` constraint (:ticket:`23794`).
|
||||
|
||||
* Made the initializers of deconstructible classes, such as migration
|
||||
operations and validators, accept kwargs for forwards compatibility
|
||||
(:ticket:`23892`).
|
||||
|
||||
Reference in New Issue
Block a user