Files
OnlineJudge/reaction
yuetsh f485ff6aac fix(reaction): materialize paginated queryset before JSON response
ReactionStatsAPI called the sync paginate_data() without an
object_serializer, leaving results as a lazy QuerySet. json.dumps()
in JSONResponse.response has no custom encoder for QuerySet, so every
request 500'd. list() the results before wrapping in success().

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-06 04:12:44 -06:00
..