#14734: problem with postgresql views (psycopg2) ------------------------------------------+--------------------------------- Reporter: fulviociriaco | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- I attempted to use django with postgresql views by means of model class, the view rows however do not change when the db is externally updated untill reentering python, e.g. >>> mv=MyView.object >>> mv.all() [<Myview: MyView object>] ..... insert row into table ..... >>> mv.all() [<Myview: MyView object>] #1 row ^d manage.py shell >>> from ... import MyView >>> MyView.objects.all() [<Myview: MyView object>,<Myview: MyView object>] #2 rows
That's all. Fulvio -- Ticket URL: <http://code.djangoproject.com/ticket/14734> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
