When saving a model I'm getting a TransactionManagementError - You can't execute queries until the end of the 'atomic' block

Ticket #21540 seems fairly explicit at least where Postgres is concerned. TransactionManagementError prevents what I want to do and I'm not a nuclear expert.

How do I terminate the save() method code in that atomic block and then immediately execute my queries?

I need the save() to complete so I can get_or_create some 1:1 records belonging to the model being saved.

Thanks

Mike


--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/558A5174.2000005%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

Reply via email to