﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14734	problem with postgresql views (psycopg2)	fulviociriaco	nobody	"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"		closed	Database layer (models, ORM)	1.2		invalid			Unreviewed	0	0	0	0	0	0
