businesstrips/config-example.py

34 lines
848 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2014-04-18 23:43:54 +04:00
'''
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'
2014-11-14 23:39:45 +03:00
# 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>',
2014-11-14 23:52:56 +03:00
# 'description': 'You can use HTML formatting'}]