Re: ATOMIC_REQUESTS setting not working

2015-09-10 Thread EJ
Small update: Wrapping the view function with *@transaction.atomic* fixes the issue -- the queries execute in a transaction as expected. So I guess my immediate problem is resolved. If anyone has an idea, I'd still love to know why the view is ignoring the top-level TRANSACTION_ATOMIC setting.

ATOMIC_REQUESTS setting not working

2015-09-10 Thread EJ
Hi All, I have ATOMIC_REQUESTS set to True in my database configuration: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'abcd', 'USER': 'user', 'PASSWORD': '', 'HOST': '', 'PORT': '', 'ATOMIC_REQUESTS': True, } } But I started getting the following error