[Django] #25074: bugfix: support defaults which are unhashable (e.g. JsonField default={})

7 views
Skip to first unread message

Django

unread,
Jul 7, 2015, 5:28:13 AM7/7/15
to django-...@googlegroups.com
#25074: bugfix: support defaults which are unhashable (e.g. JsonField default={})
-------------------------------+------------------------
Reporter: Eugeny | Owner: nobody
Type: Uncategorized | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords: migrations
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------
bugfix: support defaults which are unhashable.
As an example now JsonField(default={}) causes an exception while
executing the migration.

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

Django

unread,
Jul 7, 2015, 5:28:21 AM7/7/15
to django-...@googlegroups.com
#25074: bugfix: support defaults which are unhashable (e.g. JsonField default={})
---------------------------+----------------------------

Reporter: Eugeny | Owner: nobody
Type: Uncategorized | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:

Keywords: migrations | Triage Stage: Unreviewed
Has patch: 1 | Easy pickings: 1
UI/UX: 0 |
---------------------------+----------------------------
Changes (by Eugeny):

* Attachment "4486.patch" added.

patch

Django

unread,
Jul 7, 2015, 5:28:58 AM7/7/15
to django-...@googlegroups.com
#25074: bugfix: support defaults which are unhashable (e.g. JsonField default={})
-------------------------------+--------------------------------------

Reporter: Eugeny | Owner: nobody
Type: Uncategorized | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:

Keywords: migrations | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Eugeny):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

GH: https://github.com/django/django/pull/4486

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

Django

unread,
Jul 7, 2015, 5:34:12 AM7/7/15
to django-...@googlegroups.com
#25074: bugfix: support defaults which are unhashable (e.g. JsonField default={})
-------------------------------+--------------------------------------
Reporter: Eugeny | Owner: nobody
Type: Uncategorized | Status: closed
Component: Migrations | Version: master
Severity: Normal | Resolution: invalid

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

* status: new => closed
* resolution: => invalid


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

Reply all
Reply to author
Forward
0 new messages