Files
django-polymorphic/polymorphic
Frankie Dintino a3d9379876 Set _default_manager directly on model_cls; don't use add_to_class()
Using model_cls.add_to_class() calls Manager.contribute_to_class(),
which then sets the attribute to an instance of ManagerDescriptor. In
the case of _default_manager, this behavior differs from Django's, as
_default_manager is set to the manager instance itself, not its
descriptor. This is why it is normally possible to access default_manager
from a model instance.

fixes #96
2015-01-31 13:17:56 -05:00
..
2013-11-29 18:18:55 +01:00
2013-05-20 16:03:21 +02:00
2013-05-20 16:03:21 +02:00
2014-10-14 17:32:40 +02:00
2014-10-14 17:30:25 +02:00
2013-05-20 16:03:21 +02:00