Hello,

If I have a view and use the 'django.db.transaction.commit_manually'
decorators. All worked well, but than I inserted a function call into
the view. In this function I don't touch the database

If I call the view I get following error message:
Transaction managed block ended with pending COMMIT/ROLLBACK

Am I allowed to insert a function call when I use this transaction
decorator? What should I do? I don't want to commit before this
function call, because if this function fails I would like to call
rollback for all the changes in this view.

Regards
  Bernd
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to