code: def get_calendars_for_object(self, obj, distinction=''):
          
          ct = ContentType.objects.get_for_model(obj)
          if distinction:
              dist_q = Q(calendarrelation__distinction=distinction)
          else:
              dist_q = Q()
          return self.filter(dist_q, calendarrelation__content_type=ct, calendarrelation__object_id=obj.id)
docs: This function allows you to get calendars for a specific object
  
          If distinction is set it will filter out any relation that doesnt have
          that distinction.