equal
deleted
inserted
replaced
102 # Always use forward slashes, even on Windows. |
102 # Always use forward slashes, even on Windows. |
103 # Don't forget to use absolute paths, not relative paths. |
103 # Don't forget to use absolute paths, not relative paths. |
104 os.path.join(os.path.basename(__file__), 'templates'), |
104 os.path.join(os.path.basename(__file__), 'templates'), |
105 ) |
105 ) |
106 |
106 |
|
107 FIXTURES_DIRS = ( |
|
108 os.path.join(os.path.basename(__file__), 'fixtures'), |
|
109 ) |
|
110 |
107 INSTALLED_APPS = ( |
111 INSTALLED_APPS = ( |
108 'jogging', |
112 'jogging', |
109 'django_extensions', |
113 'django_extensions', |
110 'django.contrib.auth', |
114 'django.contrib.auth', |
111 'django.contrib.contenttypes', |
115 'django.contrib.contenttypes', |
117 'registration', |
121 'registration', |
118 'tagging', |
122 'tagging', |
119 'ldt', |
123 'ldt', |
120 'ldt.core', |
124 'ldt.core', |
121 'ldt.ldt_utils', |
125 'ldt.ldt_utils', |
|
126 'ldt.text', |
122 'ldt.user', |
127 'ldt.user', |
123 'ldt.management', |
128 'ldt.management', |
|
129 'oauth_provider', |
124 ) |
130 ) |
125 |
131 |
126 DECOUPAGE_BLACKLIST = ( |
132 DECOUPAGE_BLACKLIST = ( |
127 "de_PPP", |
133 "de_PPP", |
128 ) |
134 ) |
134 ACCOUNT_ACTIVATION_DAYS = 7 |
140 ACCOUNT_ACTIVATION_DAYS = 7 |
135 |
141 |
136 LDT_MAX_SEARCH_NUMBER = 50 |
142 LDT_MAX_SEARCH_NUMBER = 50 |
137 LDT_JSON_DEFAULT_INDENT = 2 |
143 LDT_JSON_DEFAULT_INDENT = 2 |
138 |
144 |
|
145 OAUTH_PROVIDER_KEY_SIZE = 32 |
|
146 OAUTH_PROVIDER_SECRET_SIZE = 32 |
|
147 OAUTH_PROVIDER_VERIFIER_SIZE = 10 |
|
148 OAUTH_PROVIDER_CONSUMER_KEY_SIZE = 256 |
|
149 OAUTH_AUTHORIZE_VIEW = 'oauth_provider.views.fake_authorize_view' |
|
150 OAUTH_CALLBACK_VIEW = 'oauth_provider.views.fake_callback_view' |
|
151 TEST_WEBSERVER_ADDRPORT = "127.0.0.1:8000" |
139 |
152 |
140 from config import * |
153 from config import * |
141 |
154 |
142 LOGIN_URL = BASE_URL + 'ldtplatform/accounts/login/' |
155 LOGIN_URL = BASE_URL + 'platform/accounts/login/' |
143 LOGOUT_URL = BASE_URL + 'ldtplatform/accounts/logout/' |
156 LOGOUT_URL = BASE_URL + 'platform/accounts/logout/' |
144 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform' |
157 LOGIN_REDIRECT_URL = BASE_URL + 'ldtplatform' |
145 |
158 |
146 GLOBAL_LOG_LEVEL = LOG_LEVEL |
159 GLOBAL_LOG_LEVEL = LOG_LEVEL |
147 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
160 GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}] |
148 |
161 |