Ignore:
Timestamp:
15 May 2009, 12:53:30 (16 years ago)
Author:
uli
Message:

Extend faculty interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/interfaces.py

    r4126 r4131  
    3737    """Representation of a university faculty.
    3838    """
    39     name = schema.TextLine(
     39    title = schema.TextLine(
    4040        title = u'Name of Faculty',
    4141        default = u'Unnamed',
     
    4343        )
    4444
     45    title_prefix = schema.TextLine(
     46        title = u'Title prefix',
     47        default = u'faculty',
     48        required = True,
     49        )
     50   
     51    code = schema.TextLine(
     52        title = u'Code',
     53        description = u'Abbreviated code of the faculty',
     54        required = True,
     55        )
     56   
    4557class IFacultyContainer(IWAeUPContainer):
    4658    """A container for faculties.
Note: See TracChangeset for help on using the changeset viewer.