<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-09-17 10:44 GMT+02:00 Stefano Bossi <span dir="ltr"><<a href="mailto:ste.bossi@gmail.com" target="_blank">ste.bossi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>Qualcuno l'ha mai implementato? <br>A parte l'implementazione di SQLAlchemy ne conoscete altre?<br></div>Sapete per caso se Django non lo ha mai preso in considerazione?<br><br></div>grazie,<br></div>stefano<br></div>
<br>_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@lists.python.it">Python@lists.python.it</a><br>
<a href="http://lists.python.it/mailman/listinfo/python" rel="noreferrer" target="_blank">http://lists.python.it/mailman/listinfo/python</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Ciao,</div><div class="gmail_extra">forse ti riferisci a:</div><div class="gmail_extra"><br></div><div class="gmail_extra">Forse ti riferisci a <a href="https://docs.djangoproject.com/en/1.8/topics/db/transactions/">https://docs.djangoproject.com/en/1.8/topics/db/transactions/</a>, precisamente al metodo 'atomic'<br><br><dt id="django.db.transaction.atomic" style="font-family:Roboto,Corbel,Avenir,'Lucida Grande','Lucida Sans',sans-serif;font-weight:700;color:rgb(12,60,38);font-size:14px;line-height:21px"><tt class="" style="font-family:'Fira Mono',Consolas,Menlo,Monaco,'Courier New',Courier,monospace;color:rgb(12,75,51);font-size:1em">atomic</tt>(<em>using=None</em>, <em>savepoint=True</em>)<a class="" href="https://docs.djangoproject.com/en/1.8/_modules/django/db/transaction/#atomic" style="color:rgb(106,14,14);text-decoration:none;border-bottom-width:1px;border-bottom-style:dotted;border-color:rgb(151,20,20)"><span class="">[source]</span></a><a class="" href="https://docs.djangoproject.com/en/1.8/topics/db/transactions/#django.db.transaction.atomic" title="Permalink to this definition" style="color:rgb(21,102,65);text-decoration:none;padding-left:10px;font-size:0.8em">¶</a></dt><dd style="margin:0.2em 0px 0px;padding:0px 0px 0px 1.4em"><p style="margin:1em 0px"><font color="#0c3c26" face="Roboto, Corbel, Avenir, Lucida Grande, Lucida Sans, sans-serif"><span style="font-size:14px;line-height:21px">Atomicity is the defining property of database transactions. </span></font><tt class="" style="color:rgb(12,75,51);font-family:'Fira Mono',Consolas,Menlo,Monaco,'Courier New',Courier,monospace;font-size:1em;line-height:21px;font-weight:700"><span class="">atomic</span></tt><font color="#0c3c26" face="Roboto, Corbel, Avenir, Lucida Grande, Lucida Sans, sans-serif"><span style="font-size:14px;line-height:21px"> allows us to create a block of code within which the atomicity on the database is guaranteed. If the block of code is successfully completed, the changes are committed to the database. If there is an exception, the changes are rolled back.<br></span></font><br></p></dd><div><br></div><div>Ciao</div><div><br></div></div></div>