title: Django 1.9 Find object in list that has attribute equal to some value
body: <p>I wondering thinking how can i do a query for all Restaurants that have the attribute equal to some given value, and other given value in a list of delivery zones attribute.
  Here is how looks my code:</p>
  
  <p>models.py</p>
  
  <pre><code>class Restaurant(models.Model):
      name = models.CharField(max_length=120)
      delivery_zones = models.ManyToManyField('DeliveryZone', default=None)
      service_type = models.CharField(max_length=25, choices=settings.SERVICE_TYPE_CHOICES, default='DELIVERY')
      is_active = models.BooleanField(default=False)
  
  class DeliveryZones(models.Model):
      zone = models.CharField(max_length=25, default=None)
      is_active = models.BooleanField(default=False)
  </code></pre>
  
  <p>views.py:</p>
  
  <pre><code>restaurants = get_list_404(
      Restaurant, is_active=True,
      service_type='SOME_GIVEN_SERVICE_TYPE_NAME',
      delivery_zones__icontains='SOME_GIVEN_ZONE_NAME'
  )
  </code></pre>