equal
deleted
inserted
replaced
1 # -*- coding: utf-8 -*- |
1 # -*- coding: utf-8 -*- |
2 #@PydevCodeAnalysisIgnore |
2 #@PydevCodeAnalysisIgnore |
3 import os.path |
3 import os.path |
4 import ldtplatform |
4 import aixweb |
5 # Django settings for project. |
5 # Django settings for project. |
6 |
6 |
7 DEBUG = True |
7 DEBUG = True |
8 TEMPLATE_DEBUG = DEBUG |
8 TEMPLATE_DEBUG = DEBUG |
9 |
9 |
103 "django.core.context_processors.static", |
103 "django.core.context_processors.static", |
104 "ldt.utils.context_processors.ldt_context", |
104 "ldt.utils.context_processors.ldt_context", |
105 ) |
105 ) |
106 |
106 |
107 |
107 |
108 ROOT_URLCONF = 'ldtplatform.urls' |
108 ROOT_URLCONF = 'aixweb.urls' |
109 |
109 |
110 TEMPLATE_DIRS = ( |
110 TEMPLATE_DIRS = ( |
111 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
111 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". |
112 # Always use forward slashes, even on Windows. |
112 # Always use forward slashes, even on Windows. |
113 # Don't forget to use absolute paths, not relative paths. |
113 # Don't forget to use absolute paths, not relative paths. |
146 'ldt.text', |
146 'ldt.text', |
147 'ldt.management', |
147 'ldt.management', |
148 'ldt.indexation', |
148 'ldt.indexation', |
149 'hashcut', |
149 'hashcut', |
150 'chunked_uploads', |
150 'chunked_uploads', |
151 'ldtplatform', |
151 'aixweb', |
152 ) |
152 ) |
153 |
153 |
154 #AUTH_PROFILE_MODULE = 'user.UserProfile' |
154 #AUTH_PROFILE_MODULE = 'user.UserProfile' |
155 AUTH_USER_MODEL = 'user.LdtUser' |
155 AUTH_USER_MODEL = 'user.LdtUser' |
156 INITIAL_CUSTOM_USER_MIGRATION = "0009_rename_auth_user_to_user_ldt_user" |
156 INITIAL_CUSTOM_USER_MIGRATION = "0009_rename_auth_user_to_user_ldt_user" |
211 |
211 |
212 AUTO_INDEX_AFTER_SAVE = True |
212 AUTO_INDEX_AFTER_SAVE = True |
213 |
213 |
214 ANONYMOUS_USER_ID = -1 |
214 ANONYMOUS_USER_ID = -1 |
215 |
215 |
216 WEB_VERSION = ldtplatform.get_version() |
216 WEB_VERSION = aixweb.get_version() |
217 |
217 |
218 DIVISIONS_FOR_STAT_ANNOTATION = 64 |
218 DIVISIONS_FOR_STAT_ANNOTATION = 64 |
219 |
219 |
220 FRONT_TAG_LIST = [] |
220 FRONT_TAG_LIST = [] |
221 |
221 |
250 |
250 |
251 if not "SRC_BASE_URL" in locals(): |
251 if not "SRC_BASE_URL" in locals(): |
252 SRC_BASE_URL = BASE_URL + __name__.split('.')[0] + '/' |
252 SRC_BASE_URL = BASE_URL + __name__.split('.')[0] + '/' |
253 |
253 |
254 if not "SRC_BASE_URL" in locals(): |
254 if not "SRC_BASE_URL" in locals(): |
255 SRC_BASE_URL = BASE_URL + 'ldtplatform/' |
255 SRC_BASE_URL = BASE_URL + 'aixweb/' |
256 |
256 |
257 if not "LOGIN_URL" in locals(): |
257 if not "LOGIN_URL" in locals(): |
258 LOGIN_URL = SRC_BASE_URL + 'accounts/login/' |
258 LOGIN_URL = SRC_BASE_URL + 'accounts/login/' |
259 if not "LOGOUT_URL" in locals(): |
259 if not "LOGOUT_URL" in locals(): |
260 LOGOUT_URL = SRC_BASE_URL + 'accounts/disconnect/' |
260 LOGOUT_URL = SRC_BASE_URL + 'accounts/disconnect/' |