"""
import os
-from settings_secret import *
+try:
+ from .settings_secret import *
+except ImportError:
+ pass
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Redirect to home URL after login (Default redirects to /accounts/profile/)
LOGIN_REDIRECT_URL = '/'
AUTHENTICATION_BACKENDS = ['tranquillity.auth_backend.EmailBackend']
+AUTH_USER_MODEL = 'customerportal.User'