Hi,

I am using manual transactions around the functions of views.py. This
is because there are events called within a function that need to see
the committed data before the event is signalled. However, when there
is a GET request on this same function I get "Transaction managed
block ended with pending COMMIT/ROLLBACK" even though there is nothing
to commit in the case of a GET.
It seems that everytime I restart the web server, I get a new session
ID which is why it thinks that there is data to be commited. The
browser still has the cookie for the previous session ID, and it is
stored in the database, so why is Django generating a new session ID
each time the web server is restarted?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to