Changeset 3522


Ignore:
Timestamp:
30 Jun 2008, 14:17:50 (16 years ago)
Author:
uli
Message:

Add basic view for students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/student.py

    r3521 r3522  
    5656    def getCsv(self):
    5757        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
     58
     59class Edit(grok.EditForm):
     60    form_fields = grok.AutoFields(Student)
     61
     62class Index(grok.DisplayForm):
     63    form_fields = grok.AutoFields(Student)
Note: See TracChangeset for help on using the changeset viewer.