businesstrips/config-example.py

34 lines
848 B
Python

# -*- coding: utf-8 -*-
'''
Created on 29.11.2010
@author: morozov
'''
# Database server settings
mysql_server = 'localhost'
mysql_database = 'businesstrips'
mysql_user = 'businesstrips'
mysql_password = 'businessTripsSecret'
mysql_port = 3306
# Permissions
allow_delete_any_record = ['user1', 'user2', 'user3']
# Default values
default_start_time_hour = '9'
default_start_time_minute = '30'
default_end_time_hour = '18'
default_end_time_minute = '15'
# Links
#links = [{'url': 'https://example-site1.com',
# 'name': 'Example site 1',
# 'description': 'Go to the example site 1'},
# {'url': '',
# 'name': 'Text without link',
# 'description': ''},
# {'url': 'http://example-site2.org',
# 'name': '<b>Formatted example</b>',
# 'description': 'You can use HTML formatting'}]