Corrige l'utilisation d'ATOMIC_REQUESTS
This commit is contained in:
parent
8a5105c226
commit
b24a02c420
|
@ -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/
|
||||
|
||||
|
|
Reference in New Issue