[Django]-Django extending objects manager raises 'NoneType' object has no attribute '_meta'

3👍

It should be inside the model definition. Because it’s handling with the __new__ method of model’s metaclass.

class Alpha(models.Model):
    ...
    objects = MyManager()

Leave a comment