Re: postgresql views and django

2007-02-22 Thread Marc Fargas Esteve
If the views are already there you can use ./manage.py inspectdb to get "guessed" models for those views (django will simply treat them as normal tables), you'll get in trouble if you try to create or update entries of this model unless you have written INSERT/UPDATE/DELETE rules on the view. >Fro

postgresql views and django

2007-02-22 Thread Johannes Wolter
Hi, I'm new to django and eager to give it a try. Now I have a task, where I have data in a postgresql db and i want to visualize this data using django. My question now is if it is possible to connect the django models with postgresql views which are accessing the postgresql tables with the r