Fixed #22564 -- Prevented unneeded bytestrings in migrations #2635

wants to merge 2 commits into


None yet
2 participants

claudep commented May 5, 2014

No description provided.

claudep added some commits May 5, 2014

Fixed #22564 -- Prevented unneeded bytestrings in migrations
In some cases, this could lead to migrations written with Python 2
being incompatible with Python 3.
Thanks Tim Graham for the report and Loïc Bistuer for the advices.

Out of curiosity, in which case is the strings_only necessary?


claudep replied May 5, 2014

In case is None (tested in FieldDeconstructionTests, see below). Without that, it would return the "None" string instead of None.

@claudep claudep closed this May 6, 2014

@claudep claudep deleted the claudep:22564 branch May 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment