summaryrefslogtreecommitdiff
path: root/docs/narr/MyProject
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr/MyProject')
-rw-r--r--docs/narr/MyProject/myproject/configure.zcml2
-rw-r--r--docs/narr/MyProject/myproject/models.py7
2 files changed, 1 insertions, 8 deletions
diff --git a/docs/narr/MyProject/myproject/configure.zcml b/docs/narr/MyProject/myproject/configure.zcml
index c9bb92565..96f51d3c1 100644
--- a/docs/narr/MyProject/myproject/configure.zcml
+++ b/docs/narr/MyProject/myproject/configure.zcml
@@ -6,7 +6,7 @@
<include package="repoze.bfg.includes" />
<bfg:view
- for=".models.IMyModel"
+ for=".models.MyModel"
view=".views.my_view"
/>
diff --git a/docs/narr/MyProject/myproject/models.py b/docs/narr/MyProject/myproject/models.py
index 42efd9e0b..a37762ff4 100644
--- a/docs/narr/MyProject/myproject/models.py
+++ b/docs/narr/MyProject/myproject/models.py
@@ -1,11 +1,4 @@
-from zope.interface import Interface
-from zope.interface import implements
-
-class IMyModel(Interface):
- pass
-
class MyModel(object):
- implements(IMyModel)
pass
root = MyModel()