Changeset 6764 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 14 Sep 2011, 08:28:16 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r6756 r6764 66 66 default = u'Nobody', 67 67 required = True, 68 readonly = True 68 69 ) 69 70 … … 92 93 adm_code = Attribute('Admission checking access code') 93 94 94 password = schema.Password(95 title = u'Password',96 required = False,97 )98 99 95 def loggerInfo(ob_class, comment): 100 96 """Adds an INFO message to the log file … … 205 201 # Interfaces for students only 206 202 207 class IStudentBaseEdit(IStudentBase):208 """Interface needed for editing of student base data by students.209 """210 211 name = schema.TextLine(212 title = u'Full Name',213 default = u'Nobody',214 required = True,215 readonly = True,216 )217 218 IStudentBaseEdit['name'].order = IStudentBase['name'].order219 220 203 class IStudentClearanceEdit(IStudentClearance): 221 204 """Interface needed for restricted editing of student clearance data. -
main/waeup.sirp/trunk/src/waeup/sirp/students/student.py
r6749 r6764 24 24 from waeup.sirp.interfaces import IObjectHistory 25 25 from waeup.sirp.students.interfaces import ( 26 IStudent, IStudentNavigation, IStudent BaseEdit, IStudentClearanceEdit,26 IStudent, IStudentNavigation, IStudentClearanceEdit, 27 27 IStudentPersonalEdit) 28 28 from waeup.sirp.utils.helpers import attrs_to_fields … … 34 34 """ 35 35 grok.implements(IStudent, IStudentNavigation, 36 IStudent BaseEdit, IStudentClearanceEdit, IStudentPersonalEdit)36 IStudentPersonalEdit) 37 37 grok.provides(IStudent) 38 38
Note: See TracChangeset for help on using the changeset viewer.