Commit b98ab71f authored by 's avatar

- fixed mixin class used by the view directive

(Looks like someone mixed up zope.browserpage.metaconfigure.simple and zope.browserpage.simpleviewclass.simple. Doesn't make a big difference here, but zope.browserpage uses the other one in this place.)
parent 1933dd9d
......@@ -267,9 +267,9 @@ class view(zope.browserpage.metaconfigure.view):
)
if class_ is not None:
bases = (class_, ViewMixinForTemplates)
bases = (class_, simple)
else:
bases = (ViewMixinForTemplates,)
bases = (simple,)
try:
cname = str(name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment