Hi Tom,

I tried the code that you posted but somehow it is giving* 
UnexpectedNoAssetSpecificationException at /reservation/ *error. I am not 
sure but when this exception is raised, then control is not going to 
class UnexpectedNoAssetSpecificationException(Exception): 
    pass

and when it goes into except, it gives above error message. 

Regards,
 Simran

On Monday, May 11, 2015 at 4:27:50 PM UTC+5:30, Simran Singh wrote:
>
> I am really new to Django and I am using Django 1.8. Many of the 
> manual_transaction features have been depreciated in this. I have used 
> *@transaction.atomic(None, 
> True)* to pack the transaction and rollback the updates if at any point 
> the condition is not met. 
> I tried to store the transaction in savepoint and used  
> *savepoint_rollback* or *savepoint_commit* as per the condition. But I am 
> having no luck here. No matter where the control goes but as soon as atomic 
> block ends, it is committing the changes in mysql db.  
> Any kind of help or leads would be highly appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/117a0386-214b-4f07-a650-0be59ea20e1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to