Opened 10 years ago

Closed 10 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: dev
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 by Florian Apolloner, 10 years ago

Description: modified (diff)

comment:2 by Andrew Godwin, 10 years ago

Owner: set to Andrew Godwin
Status: newassigned

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

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