title: Django, get objects by multiple values
body: <p>There is a model</p>
  <pre><code>class Fabric(models.Model):
      vendor_code = models.CharField(max_length=50)
      color = models.CharField(max_length=50)
      lot = models.CharField(max_length=50)
  </code></pre>
  <p>I've a list of objects</p>
  <pre><code>values = [
     {'vendor_code': '123', 'color': 'aodfe', 'lot': 'some lot 1'}, 
     {'vendor_code': '456', 'color': 'adfae', 'lot': 'some lot 2'},
     {'vendor_code': '789', 'color': 'dvade', 'lot': 'some lot 3'},
  ]
  </code></pre>
  <p>There are no ids in dict objects. How can get objects checking for list of field values(for all 3 values per object at same time)?
  I know that I can query one by one in loop as:</p>
  <pre><code>for item in values:
      fabric = Fabric.objects.filter(vendor_code=item['vendor_code'], color=item['color'], lot=item['lot'])
  </code></pre>
  <p>but amount of objects in list can be large. Is there any proper way to get objects at once, if they exists? Or at least to get them with min amount of db hit.</p>
  <p>Thanks in advance!</p>