Re: Django querysets and postgresql views

2014-03-18 Thread Cherrymae Tulfo
if Postgresql view is made within Postgresql, i mean by not making in django models, would still Django access these data? On Tuesday, March 18, 2014 9:10:04 PM UTC+8, esatte...@wi.rr.com wrote: > > Yes you can. Just create the view however you like. Make a django model > with the fields that

Re: Django querysets and postgresql views

2014-03-18 Thread m1chael
esatterwhite, that's a great tip! What about raw queries as another option? On Tue, Mar 18, 2014 at 9:10 AM, esatterwh...@wi.rr.com wrote: > Yes you can. Just create the view however you like. Make a django model with > the fields that map to the table the view returns

Django querysets and postgresql views

2014-03-18 Thread esatterwh...@wi.rr.com
Yes you can. Just create the view however you like. Make a django model with the fields that map to the table the view returns and set the model to managed = false. You can only fetch data and do simple filtering obviously. -- You received this message because you are subscribed to the

Django querysets and postgresql views

2014-03-17 Thread Cherrymae Tulfo
can Django query data from a postgresql view? I have trouble intersecting querysets in Django. . so i'm thinking, can Django retrieve data from a postgresql view? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group