mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +03:00
remove print statement in serializer
This commit is contained in:
parent
83bdfcb479
commit
1adbd96ba5
|
@ -73,8 +73,7 @@ class GenericRelatedField(serializers.WritableField):
|
||||||
serializer.from_native(value)
|
serializer.from_native(value)
|
||||||
# Collects all serializers that can handle the input data.
|
# Collects all serializers that can handle the input data.
|
||||||
serializers.append(serializer)
|
serializers.append(serializer)
|
||||||
except Exception as e:
|
except Exception:
|
||||||
print e
|
|
||||||
pass
|
pass
|
||||||
# If no serializer found, raise error.
|
# If no serializer found, raise error.
|
||||||
l = len(serializers)
|
l = len(serializers)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user