Changeset 4095 for waeup/branches/ulif-rewrite
- Timestamp:
- 26 Apr 2009, 20:31:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/users.py
r4089 r4095 4 4 from waeup.authentication import Account 5 5 from waeup.interfaces import IUserContainer 6 from waeup.viewlets import LeftSidebar, MainArea, Index 6 7 7 8 class UserContainer(grok.Container): … … 26 27 if name in self.keys(): 27 28 del self[name] 29 30 class UserContainerView(Index): 31 grok.require('waeup.manageUsers') 32 grok.context(IUserContainer) 33 grok.name('index') 34 def render(self, *args, **kw): 35 return super(UserContainerView, self).render(*args, **kw) 36 37 class UserContainerMain(grok.Viewlet): 38 grok.require('waeup.manageUsers') 39 grok.viewletmanager(MainArea) 40 grok.template('usermain') 41 42
Note: See TracChangeset for help on using the changeset viewer.