def serializer_factory():
    from django.core.serializers import get_serializer
    return get_serializer('python')()
Make a new DDP serializer.
dataset/ETHPy150Open django-ddp/django-ddp/dddp/__init__.py/serializer_factory