Opened 2 years ago

Closed 2 years ago

#21784 closed Bug (fixed)

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

Reported by: apollo13 Owned by: andrewgodwin
Component: Migrations Version: master
Severity: Release blocker Keywords:
Cc: andrewgodwin 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 apollo13)

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 2 years ago by apollo13

  • Description modified (diff)

comment:2 Changed 2 years ago by andrewgodwin

  • Owner set to andrewgodwin
  • Status changed from new to assigned

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

  • Resolution set to fixed
  • Status changed from assigned to closed

In 7535e9f4a4f5317a0073a8fde0eacf17ce31bac0:

Fixed #21784: Correctly decode stdin input for migration defaults

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