diff --git a/templates/project/config.py_tmpl b/templates/project/config.py_tmpl index c5cee5c..0b0be82 100644 --- a/templates/project/config.py_tmpl +++ b/templates/project/config.py_tmpl @@ -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,