def queryset_manager(func):
 return QuerySetManager(func)

def queryset_manager ( func ) : return QuerySetManager ( func )
decorator that allows you to define custom queryset managers on :class:~mongoengine .