Atomic request

33 views
Skip to first unread message

Akshay Mukadam

unread,
Aug 5, 2014, 7:47:24 AM8/5/14
to django...@googlegroups.com
How to set ATOMIC_REQUEST=TRUE in django

Erik Cederstrand

unread,
Aug 5, 2014, 9:04:55 AM8/5/14
to Django Users
Den 05/08/2014 kl. 13.47 skrev Akshay Mukadam <mukadam...@gmail.com>:

> How to set ATOMIC_REQUEST=TRUE in django

In the DATABASES dict in settings.py:


DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(SITE_ROOT, 'test.db'),
'ATOMIC_REQUEST': True,
}
}


Erik

Akshay Mukadam

unread,
Aug 7, 2014, 3:38:40 AM8/7/14
to django...@googlegroups.com
Thanks it worked
Reply all
Reply to author
Forward
0 new messages