Why not something like this: class Person(models.Model): @classmethod def male(cls): return cls.objects.filter(gender='M')
@classmethod def female(cls): return cls.objects.filter(gender='F') name = models.CharField(maxlength=20) gender = models.CharField(maxlength=1) instead of defining a 'female' and 'male' custom managers as is illustrated in the docs? Whenever I need to define 'table level' functionality, I've always gone with the above method rather than bother with a custom manager. What am I missing out on? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.