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 = {
@@ -9,8 +8,8 @@ server = {
# Pecan Application Configurations
app = {
'root' : RootController(),
'modules' : ['${egg}'],
'root' : ${egg}.controllers.root.RootController(),
'modules' : [${egg}],
'static_root' : 'public',
'template_path' : '${egg}/templates',
'reload': True,