#29249: Add option to dumpdata with unicode JSON
-------------------------------------+-------------------------------------
     Reporter:  hakib                |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Core (Management     |                  Version:  2.0
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:  dumpdata, unicode    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * component:  Utilities => Core (Management commands)


Comment:

 I believe this would only apply to the JSON serializer, and I'm not sure
 about adding a dumpdata option that's specific to a particular serializer.
 I think your best solution is to subclass the JSON serializer,
 [https://docs.djangoproject.com/en/dev/ref/settings/#serialization-modules
 register it as a custom format], and then use that format in `dumpdata`.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.1d579f904c3061dffa714f89985b7b5e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to