title: How can i get a list of objects from a postgresql view table to display
body: <p>this is a model of the view table.</p>
  
  <pre><code>class QryDescChar(models.Model): 
   iid_id = models.IntegerField()
   cid_id = models.IntegerField()
   cs = models.CharField(max_length=10)
   cid = models.IntegerField()
   charname = models.CharField(max_length=50)
   class Meta:
       db_table = u'qry_desc_char'
  </code></pre>
  
  <p>this is the SQL i use to create the table</p>
  
  <pre><code>CREATE VIEW qry_desc_char as
   SELECT  
      tbl_desc.iid_id,
      tbl_desc.cid_id,
      tbl_desc.cs,
      tbl_char.cid,
      tbl_char.charname
  FROM tbl_desC,tbl_char 
  WHERE tbl_desc.cid_id = tbl_char.cid;
  </code></pre>
  
  <hr>
  
  <p>i dont know if i need a function in models or views or both. i want to get a list of objects from that database to display it. This might be easy but im new at Django and python so i having some problems</p>