Changeset 4577 for waeup/branches/ulif-layout
- Timestamp:
- 27 Dec 2009, 19:39:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/users.py
r4115 r4577 6 6 from waeup.authentication import Account 7 7 from waeup.interfaces import IUserContainer, IUserAccount 8 from waeup.viewlets import LeftSidebar, MainArea, Index, Add, FormWrapMixin 8 from waeup.viewlets import (LeftSidebar, MainArea, Index, Add, FormWrapMixin, 9 master_template_path) 10 11 master_template = grok.PageTemplateFile(master_template_path) 12 9 13 10 14 class UserContainer(grok.Container): … … 34 38 grok.context(IUserContainer) 35 39 grok.name('index') 40 grok.template('master_template') 36 41 37 42 def update(self, userid=None, adduser=None, edit=None, delete=None): … … 45 50 self.flash('User %s successfully deleted.' % userid) 46 51 47 def render(self, *args, **kw):48 return super(UserContainerView, self).render(*args, **kw)49 50 52 class AddUserForm(grok.AddForm): 51 53 grok.require('waeup.manageUsers')
Note: See TracChangeset for help on using the changeset viewer.