Commit f385b72d by Marko Tibold

Whoops … Drop pdb

parent aa013a42
......@@ -429,8 +429,6 @@ class ModelSerializer(Serializer):
max_length = getattr(model_field, 'max_length', None)
if max_length:
if not isinstance(model_field, models.CharField):
import pdb; pdb.set_trace()
kwargs['max_length'] = max_length
field_mapping = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment