equal
deleted
inserted
replaced
71 'django.template.loaders.app_directories.Loader', |
71 'django.template.loaders.app_directories.Loader', |
72 # 'django.template.loaders.eggs.Loader', |
72 # 'django.template.loaders.eggs.Loader', |
73 ) |
73 ) |
74 |
74 |
75 MIDDLEWARE_CLASSES = ( |
75 MIDDLEWARE_CLASSES = ( |
76 'django.middleware.common.GZipMiddleware', |
76 'django.middleware.gzip.GZipMiddleware', |
77 'django.middleware.common.CommonMiddleware', |
77 'django.middleware.common.CommonMiddleware', |
78 'django.contrib.sessions.middleware.SessionMiddleware', |
78 'django.contrib.sessions.middleware.SessionMiddleware', |
79 'django.middleware.csrf.CsrfViewMiddleware', |
79 'django.middleware.csrf.CsrfViewMiddleware', |
80 'django.contrib.auth.middleware.AuthenticationMiddleware', |
80 'django.contrib.auth.middleware.AuthenticationMiddleware', |
81 'django.middleware.locale.LocaleMiddleware', |
81 'django.middleware.locale.LocaleMiddleware', |
151 OAUTH_CALLBACK_VIEW = 'oauth_provider.views.fake_callback_view' |
151 OAUTH_CALLBACK_VIEW = 'oauth_provider.views.fake_callback_view' |
152 TEST_WEBSERVER_ADDRPORT = "127.0.0.1:8000" |
152 TEST_WEBSERVER_ADDRPORT = "127.0.0.1:8000" |
153 |
153 |
154 from config import * |
154 from config import * |
155 |
155 |
156 LOGIN_URL = BASE_URL + 'platform/accounts/login/' |
156 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
157 LOGOUT_URL = BASE_URL + 'platform/accounts/logout/' |
157 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/logout/' |
158 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform' |
158 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform' |
159 |
159 |
160 GLOBAL_LOG_LEVEL = LOG_LEVEL |
160 GLOBAL_LOG_LEVEL = LOG_LEVEL |
161 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
161 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
162 |
162 |