121 # Always use forward slashes, even on Windows. |
121 # Always use forward slashes, even on Windows. |
122 # Don't forget to use absolute paths, not relative paths. |
122 # Don't forget to use absolute paths, not relative paths. |
123 ) |
123 ) |
124 |
124 |
125 INSTALLED_APPS = ( |
125 INSTALLED_APPS = ( |
|
126 'hdabo', |
126 'south', |
127 'south', |
127 'django.contrib.auth', |
128 'django.contrib.auth', |
128 'django.contrib.contenttypes', |
129 'django.contrib.contenttypes', |
129 'django.contrib.sessions', |
130 'django.contrib.sessions', |
130 'django.contrib.sites', |
131 'django.contrib.sites', |
131 'django.contrib.messages', |
132 'django.contrib.messages', |
132 'django.contrib.staticfiles', |
133 'django.contrib.staticfiles', |
133 'django.contrib.admin', |
134 'django.contrib.admin', |
134 'django_extensions', |
135 'django_extensions', |
135 'hdabo', |
136 'registration', |
|
137 'haystack', |
|
138 'easy_thumbnails', |
136 'hdalab', |
139 'hdalab', |
|
140 'renkanmanager', |
137 ) |
141 ) |
138 |
142 |
139 |
143 |
140 #WIKIPEDIA_API_URL = "http://fr.wikipedia.org/w/api.php" |
144 SOUTH_MIGRATION_MODULES = { |
141 #WIKIPEDIA_VERSION_PERMALINK_TEMPLATE = "http://fr.wikipedia.org/w/index.php?oldid=%s" |
145 'easy_thumbnails': 'easy_thumbnails.south_migrations', |
142 #DBPEDIA_URI_TEMPLATE = "http://dbpedia.org/resource/%s" |
146 } |
|
147 DEFAULT_RENKAN_ICON = "thumbnails/renkan/renkan_default_icon.png" |
|
148 |
|
149 WIKIPEDIA_API_URL = "http://fr.wikipedia.org/w/api.php" |
|
150 WIKIPEDIA_VERSION_PERMALINK_TEMPLATE = "http://fr.wikipedia.org/w/index.php?oldid=%s" |
|
151 DBPEDIA_URI_TEMPLATE = "http://fr.dbpedia.org/%s/%s" |
|
152 #DBPEDIA_URI_TEMPLATE = "http://fr.dbpedia.org/resource/%s" |
|
153 |
|
154 SEARCH_STAR_CHARACTER = "*" |
|
155 PAGINATION_DEFAULT_NB_BY_PAGE = 50 |
|
156 |
|
157 # User class after migration to django > 1.6.5 |
|
158 AUTH_USER_MODEL = 'hdabo.User' |
|
159 |
|
160 ACCOUNT_ACTIVATION_DAYS = 7 |
143 |
161 |
144 LOCALE_PATHS = () |
162 LOCALE_PATHS = () |
145 |
163 |
|
164 |
146 from hdalab.config import * #@UnusedWildImport |
165 from hdalab.config import * #@UnusedWildImport |
147 |
166 |
|
167 if 'LOGIN_REDIRECT_URL' not in locals(): |
|
168 LOGIN_REDIRECT_URL = BASE_URL + "hdabo" |
|
169 if 'LOGIN_URL' not in locals(): |
|
170 LOGIN_URL = BASE_URL + "hdabo/accounts/login" |
|
171 |