Changeset 3563 for waeup


Ignore:
Timestamp:
6 Jul 2008, 11:11:18 (16 years ago)
Author:
hraban
Message:

deleted obsolete bootstrap

Location:
waeup/branches/hraban
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/hraban

    • Property svn:ignore set to
      *.egg
  • waeup/branches/hraban/src/waeup/students/interfaces.py

    r3561 r3563  
    1010    entry_mode = schema.ASCIILine( # Choice?
    1111        title = u'Entry Mode',
    12         default = u'',
     12        default = '',
    1313        required = False,
    1414        )
     
    2828    jamb_reg_no = schema.ASCIILine(
    2929        title = u'JAMB Reg. No.',
    30         default = u'',
     30        default = '',
    3131        required = False,
    3232        )
     
    3434        title = u'Level',
    3535        default = 0,
    36         mssing_value = 0,
     36        missing_value = 0,
    3737        required = False,
    3838        min = 0,
     
    4141    id = schema.ASCIILine(
    4242        title = u'Student ID',
    43         default = u'',
     43        default = '',
    4444        required = False,
    4545        constraint=(re.compile("^[A-Z]\d{6}$").match)
     
    5454        title = u'Entry Session',
    5555        default = -1,
    56         missingg_value = 0,
     56        missing_value = 0,
    5757        required = False,
    5858        min=-1,
     
    6161    matric_no = schema.ASCIILine(
    6262        title = u'Matric No.',
    63         default = u'',
     63        default = '',
    6464        required = False,
    6565        constraint=re.compile("^[A-Z]{3}\d{7}$").match
     
    7575        default = u'',
    7676        required = False,
    77         constraint=re.compile("^[\d-,]{5,}$").match,
     77        constraint=re.compile(u"^[\d-,]{5,}$").match,
    7878        description = u'if multiple, separate with comma'
    7979        )
    8080    session = schema.ASCIILine(
    8181        title = u'Session',
    82         default = 1,
     82        default = '1',
    8383        required = False,
    8484        constraint=(re.compile("^\d$").match)
     
    8686    course = schema.ASCIILine( # Choice
    8787        title = u'Course',
    88         default = u'',
     88        default = '',
    8989        required = False,
    9090        constraint=(re.compile("^[A-Z]{3,8}$").match)
     
    9292    mode = schema.ASCIILine( # Choice?
    9393        title = u'Mode',
    94         default = u'',
     94        default = '',
    9595        required = False,
    9696        )
    9797    faculty = schema.ASCIILine( # Choice
    9898        title = u'Faculty',
    99         default = u'',
     99        default = '',
    100100        required = False,
    101101        constraint=(re.compile("^[A-Z]{3}$").match)
     
    103103    department = schema.ASCIILine( # Choice
    104104        title = u'Department',
    105         default = u'',
     105        default = '',
    106106        required = False,
    107107        constraint=(re.compile("^[A-Z]{3}$").match)
     
    109109    verdict = schema.ASCIILine(
    110110        title = u'Verdict',
    111         default = u'',
     111        default = '',
    112112        required = False,
    113113        )
    114114    review_state = schema.ASCIILine( # Choice
    115115        title = u'Review State',
    116         default = u'student_created',
     116        default = 'student_created',
    117117        required = True,
    118118        )
     
    122122        required = True,
    123123        )
    124     email = schema.TextLine(
     124    email = schema.ASCIILine(
    125125        title = u'Email',
    126         default = u'',
     126        default = '',
    127127        required = True,
    128128        constraint=(re.compile("^[\w\.]+@(\w+\.)+\w{2,}$").match)
Note: See TracChangeset for help on using the changeset viewer.