Re: Which is the best way of query a database view(no from Django model)

2011-11-03 Thread Andre Lopes
Hi Daniel, thanks for the reply. I have tested to "inspectdb" but I think the schema is to complex, for example... for the table "tdir_files_context" (djangoinspectdb.JPG "image in attachment") I got this model: [code] class TdirFilesContext(models.Model): id_category = models.ForeignKey(Tdir

Re: Which is the best way of query a database view(no from Django model)

2011-11-03 Thread Daniel Roseman
On Thursday, 3 November 2011 20:04:30 UTC, Andre Lopes wrote: > > Hi, > > I'm a new to Django... > > I have a database schema that stores me information that I want to > show in a Django website. This database schema have nothing to do with > a Django App... > > Which is the best way of doing this

Which is the best way of query a database view(no from Django model)

2011-11-03 Thread Andre Lopes
Hi, I'm a new to Django... I have a database schema that stores me information that I want to show in a Django website. This database schema have nothing to do with a Django App... Which is the best way of doing this in Django? I have read the documentation and seems to me that I will need to us