--- a/web/ldtplatform/settings.py Fri Feb 04 17:18:16 2011 +0100
+++ b/web/ldtplatform/settings.py Fri Feb 11 11:51:35 2011 +0100
@@ -104,6 +104,10 @@
os.path.join(os.path.basename(__file__), 'templates'),
)
+FIXTURES_DIRS = (
+ os.path.join(os.path.basename(__file__), 'fixtures'),
+)
+
INSTALLED_APPS = (
'jogging',
'django_extensions',
@@ -119,8 +123,10 @@
'ldt',
'ldt.core',
'ldt.ldt_utils',
+ 'ldt.text',
'ldt.user',
'ldt.management',
+ 'oauth_provider',
)
DECOUPAGE_BLACKLIST = (
@@ -136,11 +142,18 @@
LDT_MAX_SEARCH_NUMBER = 50
LDT_JSON_DEFAULT_INDENT = 2
+OAUTH_PROVIDER_KEY_SIZE = 32
+OAUTH_PROVIDER_SECRET_SIZE = 32
+OAUTH_PROVIDER_VERIFIER_SIZE = 10
+OAUTH_PROVIDER_CONSUMER_KEY_SIZE = 256
+OAUTH_AUTHORIZE_VIEW = 'oauth_provider.views.fake_authorize_view'
+OAUTH_CALLBACK_VIEW = 'oauth_provider.views.fake_callback_view'
+TEST_WEBSERVER_ADDRPORT = "127.0.0.1:8000"
from config import *
-LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/'
-LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/logout/'
+LOGIN_URL = BASE_URL + 'platform/accounts/login/'
+LOGOUT_URL = BASE_URL + 'platform/accounts/logout/'
LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform'
GLOBAL_LOG_LEVEL = LOG_LEVEL