Update default apps
+DEFAULT_APPS = (
+ 'polyaxon',
+ 'db.apps.DBConfig',
+)
+
+THIRD_PARTY_APPS = (
+ 'rest_framework',
+ 'rest_framework.authtoken',
+ 'corsheaders',
+)
+
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
@@ -9,14 +20,4 @@ INSTALLED_APPS = (
'raven.contrib.django.raven_compat',
)
-
-MIDDLEWARE = (
- 'django.middleware.security.SecurityMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'corsheaders.middleware.CorsMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
-)
+INSTALLED_APPS += THIRD_PARTY_APPS + DEFAULT_APPS
