Whoops … Drop pdb

This commit is contained in:
Marko Tibold 2012-11-16 22:20:26 +01:00
parent aa013a4289
commit f385b72d80

View File

@ -429,8 +429,6 @@ class ModelSerializer(Serializer):
max_length = getattr(model_field, 'max_length', None) max_length = getattr(model_field, 'max_length', None)
if max_length: if max_length:
if not isinstance(model_field, models.CharField):
import pdb; pdb.set_trace()
kwargs['max_length'] = max_length kwargs['max_length'] = max_length
field_mapping = { field_mapping = {