Changes between Initial Version and Version 1 of Ticket #36608
- Timestamp:
- Sep 12, 2025, 2:56:35 PM (8 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36608 – Description
initial v1 1 1 As displayed in the diff, the code was simply broken and always raised an exception for custom serializer formats. 2 3 After further investigation, this problem could also be solved by adding 'internal_use_only = False' to the classes in the example here https://docs.djangoproject.com/en/5.2/topics/serialization/#custom-serialization-formats. This gets around the "if format in serializers.get_public_serializer_formats()" check, although the old code in the diff still doesn't make sense.