Changeset 3827 for waeup/branches/ulif-rewrite
- Timestamp:
- 1 Jan 2009, 16:42:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/students/studentcontainer.py
r3551 r3827 3 3 4 4 from waeup.basecontainer import BaseContainer 5 from waeup.interfaces import IStudentContainer 5 6 from student import Student, fromCsv 6 7 from waeup.utils import importexport as csv … … 10 11 The node containing the student models 11 12 """ 13 14 grok.implements(IStudentContainer) 15 12 16 name = u"Students" 13 17 childClass = Student 14 18 specialActions = [u"import", u"export"] 15 19 20 21 16 22 class Import(grok.View): 17 23 def render(self): … … 40 46 csv.writeFile(result) 41 47 return "yeah %s" % t[0] 48 49 grok.global_utility(StudentContainer, provides=IStudentContainer)
Note: See TracChangeset for help on using the changeset viewer.