pecan/tests/config_fixtures/config.py
raw| 1 | |
| 2 | |
| 3 | # Server Specific Configurations |
| 4 | server = { |
| 5 | 'port': '8081', |
| 6 | 'host': '1.1.1.1', |
| 7 | 'hostport': '{pecan.conf.server.host}:{pecan.conf.server.port}' |
| 8 | } |
| 9 | |
| 10 | # Pecan Application Configurations |
| 11 | app = { |
| 12 | 'static_root': 'public', |
| 13 | 'template_path': 'myproject/templates', |
| 14 | 'debug': True |
| 15 | } |
| 16 | |
| 17 | # Custom Configurations must be in Python dictionary format:: |
| 18 | # |
| 19 | # foo = {'bar':'baz'} |
| 20 | # |
| 21 | # All configurations are accessible at:: |
| 22 | # pecan.conf |