+3: .ini files that contain eval'able code on the right side, and
<?python ?> style escapes to calculate those values. The escape could
also define a function; e.g.:
<?python
def connect_mysql():
import MySQLdb
return MySQLdb.connect(user="foo", password="bar", db="baz")
?>
[/somewhere]
db.connection = connect_mysql
=====
+2: change the extension
=====
Remember that we'll have to support virtual hosts eventually, as well
as path sections.
--
Mike Orr <[EMAIL PROTECTED]>
([EMAIL PROTECTED] address is semi-reliable)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---