mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 11:30:12 +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)
|
||||
# Collects all serializers that can handle the input data.
|
||||
serializers.append(serializer)
|
||||
except Exception as e:
|
||||
print e
|
||||
except Exception:
|
||||
pass
|
||||
# If no serializer found, raise error.
|
||||
l = len(serializers)
|
||||
|
|
Loading…
Reference in New Issue
Block a user