title: How to fetch arrayfield data in django with postgres
body: <p>I'm trying to fetch users list based on their language(from ArrayField). A single user can have multiple languages. When i passed single language<code>{'Hindi'}</code>, it fetches all the records except user with multiple languages, but if passed parameters <code>{'Hindi','bangla','kannada'}</code> then it gives me a specific record,how can i fetch the users list with <code>hindi</code> and other than <code>hindi</code> as well . I have tried with <code>.all</code> also but it didn't worked for me. 
  Any help would be appreciated. </p>
  
  <p><a href="https://i.stack.imgur.com/jj4hn.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jj4hn.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/k61pP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k61pP.jpg" alt="enter image description here"></a>
  models.py </p>
  
  <pre><code># DESCRIPTION: This function gets the drivers list by lang.
      @classmethod
      def get_driver_by_lang(cls, driver_lang):
          try:
              driver_details = cls.objects.filter(language = driver_lang)
              data = serializers.serialize("json", driver_details)
              data = json.loads(data)
              return data
          except :
              return False
  </code></pre>