rename 'mode' attribute to 'view_name' for clarity
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3864 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
b85d120ad2
commit
f5c2dd5ddf
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class BaseView(object):
|
|||
index = generic_page
|
||||
default_template = view_macros # specify in subclass
|
||||
resource_prefix = '/@@/'
|
||||
mode = 'view'
|
||||
view_mode = 'view'
|
||||
|
||||
def __call__(self):
|
||||
return self.index(self)
|
||||
|
|
Loading…
Add table
Reference in a new issue