mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
Whoops … Drop pdb
This commit is contained in:
parent
aa013a4289
commit
f385b72d80
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user