def _load_serializers():
 for format in BUILTIN_SERIALIZERS:
  register_serializer(format, BUILTIN_SERIALIZERS[format])
 if hasattr(settings, 'SERIALIZATION_MODULES'):
  for format in settings.SERIALIZATION_MODULES:
   register_serializer(format, settings.SERIALIZATION_MODULES[format])

def _load_serializers ( ) : for format in BUILTIN_SERIALIZERS : register_serializer ( format , BUILTIN_SERIALIZERS [ format ] ) if hasattr ( settings , 'SERIALIZATION_MODULES' ) : for format in settings . SERIALIZATION_MODULES : register_serializer ( format , settings . SERIALIZATION_MODULES [ format ] )
register built-in and settings-defined serializers .