Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#23156 closed Bug (fixed)

BinaryField is missing a deconstruct() method

Reported by: Baptiste Mispelon Owned by: Baptiste Mispelon
Component: Migrations Version: 1.7-rc-2
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

BinaryField.__init__() overrides editable=False but doesn't define a deconstruct() method which means that migrations incorrectly include editable=False.

Pull request incoming.

Change History (4)

comment:1 Changed 4 years ago by Baptiste Mispelon

Has patch: set

comment:2 Changed 4 years ago by Baptiste Mispelon

I found a similar bug in TimeField.deconstruct() so I added a commit to the above pull request.

comment:3 Changed 4 years ago by Baptiste Mispelon <bmispelon@…>

Resolution: fixed
Status: newclosed

In 72f1eb48df335c110f39d56f7978d95896a56bb8:

Fixed #23156 -- Added missing BinaryField.deconstruct() method.

comment:4 Changed 4 years ago by Baptiste Mispelon <bmispelon@…>

In 23b0d636d3dc8b37fee6dc7539b0cd1f245b673a:

[1.7.x] Fixed #23156 -- Added missing BinaryField.deconstruct() method.

Backport of 72f1eb48df335c110f39d56f7978d95896a56bb8 from master.

Note: See TracTickets for help on using tickets.
Back to Top