def get_content_type(self, content_type):
        qs = self.get_queryset()
        return qs.filter(content_type__name=content_type)
Get all numbers for Enum.
dataset/ETHPy150Open callowayproject/django-categories/categories/models.py/CategoryRelationManager.get_content_type--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/messages.py/_EnumClass.numbers