Changes between Initial Version and Version 1 of Ticket #36608


Ignore:
Timestamp:
Sep 12, 2025, 2:56:35 PM (8 hours ago)
Author:
ksauder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36608 – Description

    initial v1  
    11As displayed in the diff, the code was simply broken and always raised an exception for custom serializer formats.
     2
     3After 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.
Back to Top