summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
index eac3ecdae..005d30027 100644
--- a/repoze/bfg/interfaces.py
+++ b/repoze/bfg/interfaces.py
@@ -39,3 +39,7 @@ class IWSGIApplicationFactory(Interface):
def __call__(context, request, view):
""" Return an object that implements IWSGIApplication """
+class ITemplateFactory(Interface):
+ def __call__(template_path):
+ """ Return an IView given a template path """
+