Commit e53b4913 authored by Hanno Schlichting's avatar Hanno Schlichting

Provide the aq_ properties for BBB

parent 07315f18
......@@ -25,4 +25,18 @@ class BrowserView(zope.publisher.browser.BrowserView):
def __of__(self, context):
return self
# TODO we probably want to provide the aq_* properties as well
# We provide the aq_* properties here for BBB
@property
def aq_base(self):
return self
aq_self = aq_inner = aq_base
@property
def aq_parent(self):
return self.__parent__
@property
def aq_chain(self):
return [self]
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