src/cm/cm_settings.py
changeset 651 9bbc657f6837
parent 360 bfaab8740995
equal deleted inserted replaced
646:24067001082c 651:9bbc657f6837
    11 
    11 
    12 SITE_NAME = get_setting('SITE_NAME', 'comt ')
    12 SITE_NAME = get_setting('SITE_NAME', 'comt ')
    13 
    13 
    14 DEFAULT_TIME_ZONE = get_setting('DEFAULT_TIME_ZONE','Europe/Paris') 
    14 DEFAULT_TIME_ZONE = get_setting('DEFAULT_TIME_ZONE','Europe/Paris') 
    15 
    15 
       
    16 # Piwik tracking ID
       
    17 TRACKING_ID = get_setting ('TRACKING_ID', 17)
       
    18 
    16 # button for new text version creation checked by default 
    19 # button for new text version creation checked by default 
    17 NEW_TEXT_VERSION_ON_EDIT = get_setting('NEW_TEXT_VERSION_ON_EDIT', True)
    20 NEW_TEXT_VERSION_ON_EDIT = get_setting('NEW_TEXT_VERSION_ON_EDIT', True)
    18 
    21 
    19 # option to bypass all security checks 
    22 # option to bypass all security checks 
    20 NO_SECURITY = get_setting('NO_SECURITY', False)
    23 NO_SECURITY = get_setting('NO_SECURITY', False)
    23 AUTO_CONTRIB_REGISTER = get_setting('AUTO_CONTRIB_REGISTER', False)
    26 AUTO_CONTRIB_REGISTER = get_setting('AUTO_CONTRIB_REGISTER', False)
    24 
    27 
    25 # show email in user list
    28 # show email in user list
    26 SHOW_EMAILS_IN_ADMIN = get_setting('SHOW_EMAILS_IN_ADMIN', True)
    29 SHOW_EMAILS_IN_ADMIN = get_setting('SHOW_EMAILS_IN_ADMIN', True)
    27 
    30 
    28 TRACKING_HTML = get_setting('TRACKING_HTML', '')
       
    29 
       
    30 # Store IP (or not) in activity 
    31 # Store IP (or not) in activity 
    31 STORE_ACTIVITY_IP = get_setting('STORE_ACTIVITY_IP', True)
    32 STORE_ACTIVITY_IP = get_setting('STORE_ACTIVITY_IP', True)
    32 
    33 
    33 # Show 'decorated' users in comments (not structural creator id) 
    34 # Show 'decorated' users in comments (not structural creator id) 
    34 DECORATED_CREATORS = get_setting('DECORATED_CREATORS', False)
    35 DECORATED_CREATORS = get_setting('DECORATED_CREATORS', False)