n'utiliser 'south' que si la base n'est pas sqlite3
This commit is contained in:
parent
1a9400732a
commit
5893b2d727
|
@ -131,7 +131,7 @@ TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_SETTINGS.TEMPLATE_CONTEXT_PROCESSORS + (
|
|||
)
|
||||
|
||||
INSTALLED_APPS = (
|
||||
'south',
|
||||
# note: 'south' will be added here only if database is not sqlite (see below)
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
|
@ -205,6 +205,10 @@ try:
|
|||
except:
|
||||
pass
|
||||
|
||||
# use South, unless if database is sqlite3
|
||||
if DATABASES['default']['ENGINE'] != 'django.db.backends.sqlite3':
|
||||
INSTALLED_APPS = ('south',) + INSTALLED_APPS
|
||||
|
||||
# CAS
|
||||
|
||||
if CAS_SERVER_URL:
|
||||
|
|
Reference in New Issue