Changeset 3528 for waeup/trunk/src
- Timestamp:
- 30 Jun 2008, 15:46:09 (16 years ago)
- Location:
- waeup/trunk/src/waeup
- Files:
-
- 4 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/trunk/src/waeup/basecontainer_templates/add.pt
r3527 r3528 6 6 7 7 <body> 8 <h1> HUHU</h1>8 <h1>Add Form</h1> 9 9 <form action="." tal:attributes="action request/URL" method="post" 10 10 class="edit-form" enctype="multipart/form-data"> -
waeup/trunk/src/waeup/students/student.py
r3527 r3528 3 3 from interfaces import IStudent 4 4 5 class Student(grok.Model): 5 from waeup.baseitem import BaseItem 6 7 class Student(BaseItem): 6 8 """This is a student record. 7 9 """ … … 41 43 def getCsv(self): 42 44 return self.entry_mode, self.end_level, self.name, self.jamb_reg_no, self.level, self.id, self.lga, self.entry_session, self.matric_no, self.sex, self.phone, self.session, self.course, self.mode, self.faculty, self.department, self.verdict, self.review_state, self.perm_address, self.email 43 44 class Edit(grok.EditForm):45 form_fields = grok.AutoFields(Student)46 47 class Index(grok.DisplayForm):48 form_fields = grok.AutoFields(Student)
Note: See TracChangeset for help on using the changeset viewer.