Ignore:
Timestamp:
29 Aug 2011, 07:05:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Reorganize vocabularies. The vocabs of the students package are the basis. In the application package only additional sources and vocabs should be defined.

File:
1 edited

Legend:

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

    r6642 r6648  
    44from zope import schema
    55from waeup.sirp.interfaces import IWAeUPObject
     6from waeup.sirp.students.vocabularies import (
     7  year_range, lgas_vocab, CertificateSource, GenderSource,
     8  )
    69
    710class IStudentNavigation(IWAeUPObject):
     
    102105    """
    103106
    104     certificate_code = schema.TextLine(
    105         title = u'Certificate Code',
    106         default = u'None',
     107    certificate = schema.Choice(
     108        title = u'Certificate',
     109        source = CertificateSource(),
     110        default = None,
    107111        required = True,
    108112        )
Note: See TracChangeset for help on using the changeset viewer.