MongoEngine/mongoengine — pull request #256 by paulswartz (2013-03-22 00:16:04+00:00)
Title: allow a QuerySetManager to come from a parent class

Example:

```python
import mongoengine as me

class Base(me.Document):
active = me.BooleanField(default=True)

@me.queryset_manager
def objects(klass, queryset):
return queryset(active=True)

class Child(Base):
pass

Child.objects.create(active=False)
assert Child.objects.count() == 0
```