From 1fd4b4ea42c91e0d7fdba6eefcd429afe93e3e88 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 16 Mar 2011 15:48:11 -0400 Subject: [PATCH] making the paths for the config template relative to the configdir. --- pecan/templates/project/config.py_tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pecan/templates/project/config.py_tmpl b/pecan/templates/project/config.py_tmpl index 73d24e4..ca19d02 100644 --- a/pecan/templates/project/config.py_tmpl +++ b/pecan/templates/project/config.py_tmpl @@ -12,8 +12,8 @@ server = { app = { 'root' : RootController(), 'modules' : [${package}], - 'static_root' : 'public', - 'template_path' : '${package}/templates', + 'static_root' : '%(confdir)s/public', + 'template_path' : '%(confdir)s/${package}/templates', 'reload': True, 'debug' : True, 'errors' : {