-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: don't register json serializer by default (#729)
* chore: don't register json serializer by default Related to this issue #636, registering the serializer within `djmoney` package will override any customised json serializer provided by the user. The user should have the control of using the serializer provided by `djmoney` with Django `SERIALIZATION_MODULES` setting. * Add documentation & minor version bump * remove version update * update changes
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +0,0 @@ | ||
from django.core import serializers | ||
|
||
|
||
serializers.register_serializer("json", "djmoney.serializers") | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters