title: Django ORM: How to get unique records based on a column from all records(Need model object not particular value object)
body: <p>Using mysql for backend DB. Querying all records from Database like:</p>
  
  <pre><code>ob = Shop.objects.all()
  </code></pre>
  
  <p>Here querying all records because need all the n number of columns values. Then come to the Question.</p>
  
  <p>Want to get all the non duplicate records based on a certain column. Tried with Python SET function. But it deletes exact same records. I have records which are having same value in a particular column value but not same value in other columns.</p>
  
  <p>Can some one share some idea hoe to do this with the help of Django ORM!!!</p>