equal
deleted
inserted
replaced
11 |
11 |
12 MANAGERS = ADMINS |
12 MANAGERS = ADMINS |
13 |
13 |
14 DATABASES = { |
14 DATABASES = { |
15 'default': { |
15 'default': { |
16 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
16 'ENGINE': 'django.db.backends', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
17 'NAME': '', # Or path to database file if using sqlite3. |
17 'NAME': '', # Or path to database file if using sqlite3. |
18 'USER': '', # Not used with sqlite3. |
18 'USER': '', # Not used with sqlite3. |
19 'PASSWORD': '', # Not used with sqlite3. |
19 'PASSWORD': '', # Not used with sqlite3. |
20 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
20 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
21 'PORT': '', # Set to empty string for default. Not used with sqlite3. |
21 'PORT': '', # Set to empty string for default. Not used with sqlite3. |
147 OAUTH_PROVIDER_SECRET_SIZE = 32 |
147 OAUTH_PROVIDER_SECRET_SIZE = 32 |
148 OAUTH_PROVIDER_VERIFIER_SIZE = 10 |
148 OAUTH_PROVIDER_VERIFIER_SIZE = 10 |
149 OAUTH_PROVIDER_CONSUMER_KEY_SIZE = 256 |
149 OAUTH_PROVIDER_CONSUMER_KEY_SIZE = 256 |
150 OAUTH_AUTHORIZE_VIEW = 'oauth_provider.views.fake_authorize_view' |
150 OAUTH_AUTHORIZE_VIEW = 'oauth_provider.views.fake_authorize_view' |
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:8888" |
153 |
153 |
154 from config import * |
154 from config import * |
155 |
155 |
156 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
156 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
157 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/logout/' |
157 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/logout/' |