Python - How to import ' register_serializer' -- django

Import register_serializer

To import register_serializer, Add the following line to the top of your code.

from django.core.serializers import  register_serializer

 

For more information about register_serializer:
django register_serializer