toastdriven/django-tastypie — pull request #457 by teferi (2012-04-23 13:30:06+00:00)
Title: limit attr for ToManyField

I came to need to somehow limit the ToMany field. Unfortunately ToManyFields do not honor the related resources limit/max_limit meta-params. To do so I introduced a simple parameter specific to ToManyField, which applies such a limit.
Documentation and tests included.

I also tried to adhere to contributing guidelines. If anything is wrong - i'd be happy to fix/discuss the issue.