From 553e01f119a9e66c66b5bebd77c027f5a7dba552 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Wed, 27 Sep 2017 11:24:03 +0200 Subject: [PATCH] templates referenced by package name --- ordr2/views/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ordr2/views/pages.py b/ordr2/views/pages.py index d05231c..c9d0349 100644 --- a/ordr2/views/pages.py +++ b/ordr2/views/pages.py @@ -5,7 +5,7 @@ from pyramid.view import view_config @view_config( context='ordr2.resources.Root', permission='view', - renderer='../templates/pages/welcome.jinja2' + renderer='ordr2:templates/pages/welcome.jinja2' ) def welcome(context, request): return {} @@ -15,7 +15,7 @@ def welcome(context, request): context='ordr2.resources.Root', name='faq', permission='view', - renderer='../templates/pages/faq.jinja2' + renderer='ordr2:templates/pages/faq.jinja2' ) def faqs(context, request): context.nav_highlight = 'faq'