You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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?
esatte...@wi.rr.com
unread,
Mar 18, 2014, 9:10:04 AM3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.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.
m1chael
unread,
Mar 18, 2014, 9:14:55 AM3/18/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
esatterwhite, that's a great tip! What about raw queries as another option?