Skip to content
Snippets Groups Projects
Commit 0359a739 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[settings] Move contenttypes as first application

This avoids database creation errors as other applications depends
on contenttypes.
parent d2715bd3
No related branches found
No related tags found
2 merge requests!2551.4.x,!240Improve db handling
...@@ -169,9 +169,9 @@ warn_logger.addFilter(SuppressDeprecated()) ...@@ -169,9 +169,9 @@ warn_logger.addFilter(SuppressDeprecated())
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'django.sql3', 'NAME': 'django.sql3',
'OPTIONS': { 'OPTIONS': {
'timeout': 10, #seconds 'timeout': 10, #seconds
}, },
}, },
} }
...@@ -326,8 +326,8 @@ MIDDLEWARE_CLASSES = ( ...@@ -326,8 +326,8 @@ MIDDLEWARE_CLASSES = (
ROOT_URLCONF = 'beat.web.urls' ROOT_URLCONF = 'beat.web.urls'
INSTALLED_APPS = ( INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'django.contrib.admin', 'django.contrib.admin',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment