Ignore:
Timestamp:
29 Jul 2009, 11:43:45 (15 years ago)
Author:
uli
Message:
  • Require getCourseCode() for certificate courses to support cataloging of course references.
  • Make code attribute of ICourse read-only. As the code is our way to find the object in traversal path, we don't want it to be changed.
File:
1 edited

Legend:

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

    r4323 r4482  
    126126        description = u'Abbreviated code of the course',
    127127        required = True,
     128        readonly = True,
    128129        )
    129130
     
    240241        default = True
    241242        )
     243
     244    def getCourseCode():
     245        """Return the code of the referenced course.
     246
     247        This is needed for cataloging.
     248        """
    242249       
    243250class IWAeUPExporter(Interface):
Note: See TracChangeset for help on using the changeset viewer.