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:
Carl Meyer 2014-11-22 22:29:23 -07:00
parent f36151ed16
commit bcb693ebd4
9 changed files with 22 additions and 29 deletions

View file

@ -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`).