On Dec 7, 2010, at 3:00 PM, Sibylle Koczian wrote:
> In a recent thread a file settings-override.py is mentioned, but no
> example Dabo application on my machine seems to contain such a file. How
> should it look and where should it be?
It should be in your app's home directory. It should look like the
settings.py file in the main dabo directory, except that only those settings
which you wish to override for your app should be in it. For example,
settings.py has: createDbFiles = False; this controls whether Dabo throws an
error if you try to connect to a non-existent SQLite database file. Your app
might need to allow SQLite db files to be created, so your settings_override.py
file would contain the line: createDbFiles = True.
> Another possibility seems to be
> "dabo.dbConsoleLogHandler.setLevel(logging.DEBUG)". In which file would
> such a call belong?
Most likely in your startup script, although if you only wanted it to
output to the console at that level for one section of your code, you could put
it just before the call you are interested in.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]