Skip to content

Commit 2e1de68

Browse files
committed
Merge pull request #1400 from rtfd/use-atomic-requests
Use ATOMIC_REQUESTS=True to wrap every django request in a database transaction
2 parents 28c98d4 + 5aae3b2 commit 2e1de68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/settings/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
ACCOUNT_ACTIVATION_DAYS = 7
9393

9494

95+
ATOMIC_REQUESTS = True
96+
9597
TEMPLATE_LOADERS = (
9698
'django.template.loaders.filesystem.Loader',
9799
'django.template.loaders.app_directories.Loader',

0 commit comments

Comments
 (0)