Zak Johnson wrote:
> class Item(models.Model):
> is_active = models.BooleanField()
> objects = ActiveManager()
> inactive_objects = InactiveManager()
In case anyone else runs into this problem, the workaround I'm using for
now is simply to add a new default manager which contains all objects:
class Item(models.Model):
is_active = models.BooleanField()
unused_default_manager = models.Manager()
objects = ActiveManager()
inactive_objects = InactiveManager()
-Zak
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---