estebistec / drf-compound-fields

Django-REST-framework serializer fields for compound types.
BSD 3-Clause "New" or "Revised" License
92 stars 12 forks source link

add validation for list length #23

Open tbarbugli opened 9 years ago

tbarbugli commented 9 years ago

It would be great to get validation on list lengths.

eg.

ListField(Field(...), max_length=10)
estebistec commented 9 years ago

@tbarbugli How important is it for you that this be fixed for compatibility with rest-framework 2.X, as opposed to when I upgrade this for rest-framework 3.0 (hopefully soon)?

tbarbugli commented 9 years ago

not important :) thank you for asking!

estebistec commented 9 years ago

Please see #27