> sitetemplate no longer works for me... The call to loadBaseTemplates() in view.py is placed at root-level, and thus is called upon the first import. That function calls _choose_engine(), which in turn calls _load_engines(), which reads the not-yet-set-up configuration.
A fix to this would be to have each "module" within the main TG package that runs code at import to export an init function which is called /after/ configuration and before CherryPy startup. Or simply hold off all of those imports in TG's __init__.py and perform them in a called function instead. - Matthew
pgpLfuxYhxH7e.pgp
Description: PGP signature

