Ignore:
Timestamp:
2 Nov 2013, 08:50:58 (11 years ago)
Author:
Henrik Bettermann
Message:

We do not need IFacultyAdd. A simple omit('code') does the same job.

File:
1 edited

Legend:

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

    r10650 r10684  
    3939        default = u'NA',
    4040        required = True,
    41         readonly = True,
    4241        )
    4342
     
    5554        )
    5655
    57 
    58 class IFacultyAdd(IFaculty):
    59     """Representation of a university faculty.
    60     """
    61     code = schema.TextLine(
    62         title = _(u'Code'),
    63         description = _(u'This code will become part of the URL.'),
    64         default = u'NA',
    65         required = True,
    66         readonly = False,
    67         )
    68 
    69 IFacultyAdd['code'].order =  IFaculty['code'].order
    7056
    7157class IFacultiesContainer(IKofaContainer):
Note: See TracChangeset for help on using the changeset viewer.