Mercurial > genshi > mirror
comparison examples/turbogears/dev.cfg @ 4:49364e784c47 trunk
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
author | cmlenz |
---|---|
date | Sat, 03 Jun 2006 12:31:58 +0000 |
parents | |
children | 64ff134868c4 |
comparison
equal
deleted
inserted
replaced
3:518a8520a6e1 | 4:49364e784c47 |
---|---|
1 [global] | |
2 # This is where all of your settings go for your development environment | |
3 # Settings that are the same for both development and production | |
4 # (such as template engine, encodings, etc.) all go in | |
5 # markuptest/config/app.cfg | |
6 | |
7 # DATABASE | |
8 | |
9 # pick the form for your database | |
10 # sqlobject.dburi="postgres://username@hostname/databasename" | |
11 # sqlobject.dburi="mysql://username:password@hostname:port/databasename" | |
12 # sqlobject.dburi="sqlite:///file_name_and_path" | |
13 | |
14 # If you have sqlite, here's a simple default to get you started | |
15 # in development | |
16 sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite" | |
17 | |
18 | |
19 # if you are using a database or table type without transactions | |
20 # (MySQL default, for example), you should turn off transactions | |
21 # by prepending notrans_ on the uri | |
22 # sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename" | |
23 | |
24 # for Windows users, sqlite URIs look like: | |
25 # sqlobject.dburi="sqlite:///drive_letter:/path/to/file" | |
26 | |
27 | |
28 # SERVER | |
29 | |
30 # Some server parameters that you may want to tweak | |
31 # server.socket_port=8080 | |
32 | |
33 # Enable the debug output at the end on pages. | |
34 # log_debug_info_filter.on = False | |
35 | |
36 server.environment="development" | |
37 autoreload.package="markuptest" | |
38 | |
39 # Set to True if you'd like to abort execution if a controller gets an | |
40 # unexpected parameter. False by default | |
41 tg.strict_parameters = True | |
42 | |
43 # LOGGING | |
44 # Logging configuration generally follows the style of the standard | |
45 # Python logging module configuration. Note that when specifying | |
46 # log format messages, you need to use *() for formatting variables. | |
47 # Deployment independent log configuration is in markuptest/config/log.cfg | |
48 [logging] | |
49 | |
50 [[loggers]] | |
51 [[[markuptest]]] | |
52 level='DEBUG' | |
53 qualname='markuptest' | |
54 handlers=['debug_out'] | |
55 | |
56 [[[allinfo]]] | |
57 level='INFO' | |
58 handlers=['debug_out'] | |
59 | |
60 [[[access]]] | |
61 level='INFO' | |
62 qualname='turbogears.access' | |
63 handlers=['access_out'] | |
64 propagate=0 |