One problem you are having is a typographical error: The cursor method is
"Fetch One" not "Fetch None".
On Friday, November 1, 2013 8:46:17 AM UTC+1, hjr1 wrote:
>
> Hi all.
>
> I am trying to use django.db.connection with psycog2 (postgres). I can run
> something like cursor=connection.curs
Hi all.
I am trying to use django.db.connection with psycog2 (postgres). I can run
something like cursor=connection.cursor(); cursor.execute("SELECT * FROM
app_mymodel") … but it looks like psyog2 is missing
cursor.fetchnone/cursor.fetchall. A bit surprised on this as it is
documented clear
2 matches
Mail list logo