for the great community and project.
On Tue, Apr 24, 2012 at 12:50 PM, John Begeman wrote:
> Hi Masklinn,
>
> TransactionMiddleware is enabled in my settings. However, I'm doing
> this transaction management outside of views.
>
>
>
> On Tue, Apr 24, 2012 at 12:47 PM,
Hi Masklinn,
TransactionMiddleware is enabled in my settings. However, I'm doing
this transaction management outside of views.
On Tue, Apr 24, 2012 at 12:47 PM, Masklinn wrote:
> On 24 avr. 2012, at 18:18, John Begeman wrote:
>> I'm having some issues with commit_on_succ
I'm having some issues with commit_on_success. It appears to be
committing prematurely, and I'm not quite sure why.
I have the following code:
@transaction.commit_on_success
def test():
s = Somemodel.objects.all()[0]
s.hostname = 'this_is_a_test'
s.save()
raise AttributeError('oh
3 matches
Mail list logo