Corrige l'utilisation d'ATOMIC_REQUESTS

This commit is contained in:
Benjamin Dauvergne 2015-03-06 00:00:04 +01:00
parent 8a5105c226
commit b24a02c420
1 changed files with 1 additions and 2 deletions

View File

@ -62,6 +62,7 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'project_name.sqlite3'),
'ATOMIC_REQUESTS': True,
}
}
@ -86,8 +87,6 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
LOCALE_PATHS = [os.path.join(BASE_DIR, 'project_name', 'locale')]
ATOMIC = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/