web/ldtplatform/settings.py
changeset 852 393bcc75d26a
parent 845 07e203d0d26f
child 853 ca39a8cf816f
equal deleted inserted replaced
851:48cfb4388c9a 852:393bcc75d26a
   224 USE_GROUP_PERMISSIONS = ['Project', 'Content', 'Media']
   224 USE_GROUP_PERMISSIONS = ['Project', 'Content', 'Media']
   225 FORBIDDEN_STREAM_URL = "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path="
   225 FORBIDDEN_STREAM_URL = "rtmp://media.iri.centrepompidou.fr/ddc_player/mp4:video/forbidden_stream.mp4?old_path="
   226 PUBLIC_GROUP_NAME = 'everyone'
   226 PUBLIC_GROUP_NAME = 'everyone'
   227 MAX_USERS_SEARCH = 20
   227 MAX_USERS_SEARCH = 20
   228 
   228 
       
   229 MAX_TAG_LENGTH = 50
       
   230 FORCE_LOWERCASE_TAGS = True
       
   231 
   229 SYNTAX = {
   232 SYNTAX = {
   230           '++' : 'OK',
   233           '++' : 'OK',
   231           '--' : 'KO',
   234           '--' : 'KO',
   232           '==' : 'REF',
   235           '==' : 'REF',
   233           '??' : 'Q'
   236           '??' : 'Q'
   254 if not "PROFILE_REDIRECT_URL" in locals():
   257 if not "PROFILE_REDIRECT_URL" in locals():
   255     PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile'
   258     PROFILE_REDIRECT_URL = BASE_URL + 'ldtplatform/auth_accounts/create/profile'
   256 
   259 
   257 if not "LOGIN_ERROR_URL" in locals():
   260 if not "LOGIN_ERROR_URL" in locals():
   258     LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login'
   261     LOGIN_ERROR_URL = BASE_URL + 'ldtplatform/accounts/login'
   259 
       
   260 if not "GLOBAL_LOG_LEVEL" in locals():
       
   261     GLOBAL_LOG_LEVEL = LOG_LEVEL
       
   262 if not "GLOBAL_LOG_HANDLERS" in locals():
       
   263     GLOBAL_LOG_HANDLERS = [{'handler':logging.FileHandler(LOG_FILE), 'format':"%(asctime)s - %(levelname)s : %(message)s"}]
       
   264 
   262 
   265 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
   263 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
   266 # trailing slash.
   264 # trailing slash.
   267 # Examples: "http://foo.com/media/", "/media/".
   265 # Examples: "http://foo.com/media/", "/media/".
   268 if not "ADMIN_MEDIA_PREFIX" in locals():
   266 if not "ADMIN_MEDIA_PREFIX" in locals():