umutbozkurt/django-rest-framework-mongoengine — pull request #38 by danpoland (2014-10-29 13:34:16+00:00)
Title: Issue-33 Fix

Fixed the bug where Reference Fields were not decrementing depth correctly. I also updated the transform_object logic so that depth is not a factor when serializing ListFields and depth of zero is only checked on Document objects, which will prevent the 'Max recursion depth exceeded' message from showing up on basic field types like strings, integers, etc