Hey,

With JsonResponse instead of the encoder defaulting to DjangoJSONEncoder I 
was thinking it would be nice to have a setting like DEFAULT_JSON_ENCODER 
so I can set another one if needed without having to change all my usages 
already set.

https://github.com/django/django/blob/0dd29209091280ccf34e07c9468746c396b7778e/django/http/response.py#L676

Is there any reason not to do this? Feels like it wont break backwards 
compatibility.

Regards,

Fab

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d60f57d2-9775-4c44-b12d-dc3ff4ac8784n%40googlegroups.com.
  • Jso... Fab
    • ... Steve Jorgensen
      • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
        • ... Carlton Gibson

Reply via email to