[Django] #21784: Default values for migrations are not written properly into the migration file.

7 views
Skip to first unread message

Django

unread,
Jan 15, 2014, 8:07:39 AM1/15/14
to django-...@googlegroups.com
#21784: Default values for migrations are not written properly into the migration
file.
-------------------------------------------+------------------------
Reporter: apollo13 | Owner:
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Release blocker | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
Providing a default value of u'°C' results in u'\xc2\xb0C' in the
migration file.

--
Ticket URL: <https://code.djangoproject.com/ticket/21784>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 15, 2014, 8:08:15 AM1/15/14
to django-...@googlegroups.com
#21784: Default values for migrations are not written properly into the migration
file.
---------------------------------+------------------------------------

Reporter: apollo13 | Owner:
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Release blocker | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Description changed by apollo13:

Old description:

> Providing a default value of u'°C' results in u'\xc2\xb0C' in the
> migration file.

New description:

Providing a default value of u'°C' (during makemigration runs) results in


u'\xc2\xb0C' in the migration file.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/21784#comment:1>

Django

unread,
Jan 16, 2014, 1:43:19 PM1/16/14
to django-...@googlegroups.com
#21784: Default values for migrations are not written properly into the migration
file.
---------------------------------+----------------------------------------
Reporter: apollo13 | Owner: andrewgodwin
Type: Bug | Status: assigned
Component: Migrations | Version: master
Severity: Release blocker | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by andrewgodwin):

* status: new => assigned
* owner: => andrewgodwin


--
Ticket URL: <https://code.djangoproject.com/ticket/21784#comment:2>

Django

unread,
Jan 16, 2014, 2:05:54 PM1/16/14
to django-...@googlegroups.com
#21784: Default values for migrations are not written properly into the migration
file.
---------------------------------+----------------------------------------
Reporter: apollo13 | Owner: andrewgodwin
Type: Bug | Status: closed
Component: Migrations | Version: master
Severity: Release blocker | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by Andrew Godwin <andrew@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"7535e9f4a4f5317a0073a8fde0eacf17ce31bac0"]:
{{{
#!CommitTicketReference repository=""
revision="7535e9f4a4f5317a0073a8fde0eacf17ce31bac0"
Fixed #21784: Correctly decode stdin input for migration defaults
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21784#comment:3>

Reply all
Reply to author
Forward
0 new messages