Ignore:
Timestamp:
8 Feb 2012, 07:05:16 (13 years ago)
Author:
Henrik Bettermann
Message:

Values must not be Zero in sources and vocabularies.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/university
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py

    r7333 r7601  
    163163    semester = schema.Choice(
    164164        title = u'Semester/Term',
    165         default = 0,
     165        default = 9,
    166166        vocabulary = semester,
    167167        required = True,
  • main/waeup.sirp/trunk/src/waeup/sirp/university/vocabularies.py

    r7528 r7601  
    3535
    3636course_levels = SimpleSIRPVocabulary(
    37     ('Pre-Studies',0),
     37    ('Pre-Studies', 10),
    3838    ('100 (Year 1)',100),
    3939    ('200 (Year 2)',200),
     
    4747
    4848semester = SimpleSIRPVocabulary(
    49     ('N/A', 0),
     49    ('N/A', 9),
    5050    ('First Semester', 1),
    5151    ('Second Semester', 2),
     
    5858    ('Sandwich','sandwich'),
    5959    ('Postgraduate','pg'),
     60    ('no application','no'),
    6061    )
    6162
Note: See TracChangeset for help on using the changeset viewer.