Hi,
Some may call this a feature, I call it a bug:
If I do:
cursor = db.cursor()
cursor.execute("insert into tablename values(5,'somename')")
It will work without giving me an error. Even if I run a select
statement within the same session, it would confirm that that record
was entered. But, my postgresql is not really updated. If I run the
same select statement it would have no recollection of such record what
so ever. As soon as I reset my python session, the data disappears.
What is the problem? Do I have to commit the data? How come there is no
documentation for it?
Thanks,
Sia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---