Cleanup some settings.
This commit is contained in:
@@ -269,6 +269,8 @@ else:
|
||||
DATABASES = AUTH_TOKENS['DATABASES']
|
||||
|
||||
# Enable automatic transaction management on all databases
|
||||
# https://docs.djangoproject.com/en/1.8/topics/db/transactions/#tying-transactions-to-http-requests
|
||||
# This needs to be true for all databases
|
||||
for database_name in DATABASES:
|
||||
DATABASES[database_name]['ATOMIC_REQUESTS'] = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user