Added a new setup option: FILESYSTEM_INDEXING_AVAILABLE_FUNCTIONS - a dictionary to allow users to add custom functions

This commit is contained in:
Roberto Rosario
2011-04-04 14:58:36 -04:00
parent fcc8b0cfe4
commit 664ece7a60
7 changed files with 216 additions and 3 deletions

View File

@@ -54,7 +54,8 @@ def check_settings(request):
{'name':'FILESYSTEM_FILESERVING_PATH', 'value':filesystem_serving_settings.FILESERVING_PATH, 'exists':True},
{'name':'FILESYSTEM_SLUGIFY_PATHS', 'value':filesystem_serving_settings.SLUGIFY_PATHS},
{'name':'FILESYSTEM_MAX_RENAME_COUNT', 'value':filesystem_serving_settings.MAX_RENAME_COUNT},
{'name':'FILESYSTEM_INDEXING_AVAILABLE_INDEXING_FUNCTIONS', 'value':filesystem_serving_settings.AVAILABLE_INDEXING_FUNCTIONS},
# Common
{'name':'COMMON_TEMPORARY_DIRECTORY',
'value':common_settings.TEMPORARY_DIRECTORY, 'exists':True,