Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting to override the JSONEncoder? #217

Closed
Bartvds opened this issue Sep 25, 2017 · 1 comment
Closed

Setting to override the JSONEncoder? #217

Bartvds opened this issue Sep 25, 2017 · 1 comment

Comments

@Bartvds
Copy link

Bartvds commented Sep 25, 2017

I see #206 added support for DjangoJSONEncoder, but it is not sufficient for users who need to serialize additional types.

I propose to put the import path to the JSON Encoder in a setting, default it to django.core.serializers.json.DjangoJSONEncoder and pull it through Django's import_string.

@crucialfelix
Copy link
Owner

Thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants