Opened 3 years ago

Closed 3 years ago

#21784 closed Bug (fixed)

Default values for migrations are not written properly into the migration file.

Reported by: Florian Apolloner Owned by: Andrew Godwin
Component: Migrations Version: master
Severity: Release blocker Keywords:
Cc: Andrew Godwin Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Florian Apolloner)

Providing a default value of u'°C' (during makemigration runs) results in u'\xc2\xb0C' in the migration file.

Change History (3)

comment:1 Changed 3 years ago by Florian Apolloner

Description: modified (diff)

comment:2 Changed 3 years ago by Andrew Godwin

Owner: set to Andrew Godwin
Status: newassigned

comment:3 Changed 3 years ago by Andrew Godwin <andrew@…>

Resolution: fixed
Status: assignedclosed

In 7535e9f4a4f5317a0073a8fde0eacf17ce31bac0:

Fixed #21784: Correctly decode stdin input for migration defaults

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