[Django] #25015: Set sort_keys=True for django.core.serializers.json

2 views
Skip to first unread message

Django

unread,
Jun 22, 2015, 12:50:28 PM6/22/15
to django-...@googlegroups.com
#25015: Set sort_keys=True for django.core.serializers.json
--------------------------------------+--------------------
Reporter: mdj2 | Owner: nobody
Type: New feature | Status: new
Component: Core (Serialization) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+--------------------
The JSON serializer used for the dumpdata management command doesn't sort
keys by default. This is a mild annoyance when you've changed data related
to a fixture in the database directly, and you want to use dumpdata to add
the change to version control. The diff between the two versions of the
fixture will include tons of noise since the key order may have changed.

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

Django

unread,
Jun 22, 2015, 1:02:07 PM6/22/15
to django-...@googlegroups.com
#25015: Set sort_keys=True for django.core.serializers.json
-------------------------------------+-------------------------------------
Reporter: mdj2 | Owner: nobody
Type: New feature | Status: closed
Component: Core | Version: master
(Serialization) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* status: new => closed
* needs_docs: => 0
* resolution: => duplicate
* needs_tests: => 0
* needs_better_patch: => 0


Comment:

Duplicate of #24558 which is fixed in master (1.9).

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

Reply all
Reply to author
Forward
0 new messages