Modifying the conf.app.modules in the template pecan project to use the module itself (rather than a string).

This commit is contained in:
Ryan Petrello
2011-01-05 00:14:14 -05:00
parent 59de60c4fa
commit 289c04c044

View File

@@ -1,5 +1,4 @@
from ${egg}.controllers.root import RootController import ${egg}
# Server Specific Configurations # Server Specific Configurations
server = { server = {
@@ -9,8 +8,8 @@ server = {
# Pecan Application Configurations # Pecan Application Configurations
app = { app = {
'root' : RootController(), 'root' : ${egg}.controllers.root.RootController(),
'modules' : ['${egg}'], 'modules' : [${egg}],
'static_root' : 'public', 'static_root' : 'public',
'template_path' : '${egg}/templates', 'template_path' : '${egg}/templates',
'reload': True, 'reload': True,