Tomek Wójcik
c75ea4ea9d
* `bthlabs-jsonrpc-aiohttp` v1.0.0 * `bthlabs-jsonrpc-core` v1.0.0 * `bthlabs-jsonrpc-django` v1.0.0
9 lines
303 B
Python
9 lines
303 B
Python
# -*- coding: utf-8 -*-
|
|
# django-jsonrpc-django | (c) 2022-present Tomek Wójcik | MIT License
|
|
from bthlabs_jsonrpc_core import JSONRPCSerializer
|
|
from django.db.models import QuerySet
|
|
|
|
|
|
class DjangoJSONRPCSerializer(JSONRPCSerializer):
|
|
SEQUENCE_TYPES = (QuerySet, *JSONRPCSerializer.SEQUENCE_TYPES)
|