diff options
| author | Marko Tibold | 2012-11-16 22:20:26 +0100 |
|---|---|---|
| committer | Marko Tibold | 2012-11-16 22:20:26 +0100 |
| commit | f385b72d80b7e9767a6f345496fd108ccc66a4bc (patch) | |
| tree | ba022555f31d86146464782cfd9d9e5b96aa39d0 /rest_framework | |
| parent | aa013a428948802dff9c8ca00df3b7af6faf139b (diff) | |
| download | django-rest-framework-f385b72d80b7e9767a6f345496fd108ccc66a4bc.tar.bz2 | |
Whoops … Drop pdb
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/serializers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index e5c057fb..8f4b7ae2 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -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 = { |
