djangosnippets.org: Latest snippets posted by demanzanohttp://djangosnippets.org/users/demanzano/2011-08-18T08:31:11.730513-05:00demanzanonested transactions context manager and decorator
2011-08-18T08:31:11.730513-05:00demanzanohttp://djangosnippets.org/snippets/2515/<p>This is a modification of Django 1.3's transaction.commit_on_success() decorator and context manager.
It's inspired by snippet <a href="http://djangosnippets.org/snippets/1343/">1343</a> which unfortunately don't work in current Django neither as a context manager.</p>
<p>In my junior projects it works fine but I've not tested in critical projects yet! YMMV !</p>
<p>How it works: it …</p>
Freely redistributable