2015-09-17 10:44 GMT+02:00 Stefano Bossi <ste.bo...@gmail.com>: > Qualcuno l'ha mai implementato? > A parte l'implementazione di SQLAlchemy ne conoscete altre? > Sapete per caso se Django non lo ha mai preso in considerazione? > > grazie, > stefano > > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python > > Ciao, forse ti riferisci a:
Forse ti riferisci a https://docs.djangoproject.com/en/1.8/topics/db/transactions/, precisamente al metodo 'atomic' atomic(*using=None*, *savepoint=True*)[source] <https://docs.djangoproject.com/en/1.8/_modules/django/db/transaction/#atomic> ΒΆ <https://docs.djangoproject.com/en/1.8/topics/db/transactions/#django.db.transaction.atomic> Atomicity is the defining property of database transactions. atomic 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. Ciao
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python