- Timestamp:
- 6 Jul 2008, 11:11:18 (16 years ago)
- Location:
- waeup/branches/hraban
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/hraban
-
Property
svn:ignore
set to
*.egg
-
Property
svn:ignore
set to
-
waeup/branches/hraban/src/waeup/students/interfaces.py
r3561 r3563 10 10 entry_mode = schema.ASCIILine( # Choice? 11 11 title = u'Entry Mode', 12 default = u'',12 default = '', 13 13 required = False, 14 14 ) … … 28 28 jamb_reg_no = schema.ASCIILine( 29 29 title = u'JAMB Reg. No.', 30 default = u'',30 default = '', 31 31 required = False, 32 32 ) … … 34 34 title = u'Level', 35 35 default = 0, 36 m ssing_value = 0,36 missing_value = 0, 37 37 required = False, 38 38 min = 0, … … 41 41 id = schema.ASCIILine( 42 42 title = u'Student ID', 43 default = u'',43 default = '', 44 44 required = False, 45 45 constraint=(re.compile("^[A-Z]\d{6}$").match) … … 54 54 title = u'Entry Session', 55 55 default = -1, 56 missing g_value = 0,56 missing_value = 0, 57 57 required = False, 58 58 min=-1, … … 61 61 matric_no = schema.ASCIILine( 62 62 title = u'Matric No.', 63 default = u'',63 default = '', 64 64 required = False, 65 65 constraint=re.compile("^[A-Z]{3}\d{7}$").match … … 75 75 default = u'', 76 76 required = False, 77 constraint=re.compile( "^[\d-,]{5,}$").match,77 constraint=re.compile(u"^[\d-,]{5,}$").match, 78 78 description = u'if multiple, separate with comma' 79 79 ) 80 80 session = schema.ASCIILine( 81 81 title = u'Session', 82 default = 1,82 default = '1', 83 83 required = False, 84 84 constraint=(re.compile("^\d$").match) … … 86 86 course = schema.ASCIILine( # Choice 87 87 title = u'Course', 88 default = u'',88 default = '', 89 89 required = False, 90 90 constraint=(re.compile("^[A-Z]{3,8}$").match) … … 92 92 mode = schema.ASCIILine( # Choice? 93 93 title = u'Mode', 94 default = u'',94 default = '', 95 95 required = False, 96 96 ) 97 97 faculty = schema.ASCIILine( # Choice 98 98 title = u'Faculty', 99 default = u'',99 default = '', 100 100 required = False, 101 101 constraint=(re.compile("^[A-Z]{3}$").match) … … 103 103 department = schema.ASCIILine( # Choice 104 104 title = u'Department', 105 default = u'',105 default = '', 106 106 required = False, 107 107 constraint=(re.compile("^[A-Z]{3}$").match) … … 109 109 verdict = schema.ASCIILine( 110 110 title = u'Verdict', 111 default = u'',111 default = '', 112 112 required = False, 113 113 ) 114 114 review_state = schema.ASCIILine( # Choice 115 115 title = u'Review State', 116 default = u'student_created',116 default = 'student_created', 117 117 required = True, 118 118 ) … … 122 122 required = True, 123 123 ) 124 email = schema. TextLine(124 email = schema.ASCIILine( 125 125 title = u'Email', 126 default = u'',126 default = '', 127 127 required = True, 128 128 constraint=(re.compile("^[\w\.]+@(\w+\.)+\w{2,}$").match)
Note: See TracChangeset for help on using the changeset viewer.