ALLOWED_HOSTS = []
-AUTH_USER_MODEL = "sf_user.CustomUser"
+AUTH_USER_MODEL = "authosm.OsmUser"
SITE_NAME = "Open Source MANO"
SHORT_SITE_NAME = "OSM"
'django.contrib.messages',
'django.contrib.staticfiles',
'sf_user',
+ 'authosm',
'projecthandler',
'vimhandler',
- 'instancehandler'
+ 'instancehandler',
+ 'sdnctrlhandler',
+
]
MIDDLEWARE_CLASSES = [
os.path.join(BASE_DIR, 'projecthandler', 'template', 'project'),
os.path.join(BASE_DIR, 'vimhandler', 'template'),
os.path.join(BASE_DIR, 'instancehandler', 'template'),
+ os.path.join(BASE_DIR, 'sdnctrlhandler', 'template'),
],
'APP_DIRS': True,
'OPTIONS': {
}
}
+AUTHENTICATION_BACKENDS = ['authosm.backend.OsmBackend']
+
# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators