Changeset 4256


Ignore:
Timestamp:
12 Jun 2009, 08:42:06 (16 years ago)
Author:
uli
Message:

Add course container in departments.

File:
1 edited

Legend:

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

    r4251 r4256  
    11import grok
     2from zope.component import createObject
    23from zope.component.interfaces import IFactory
    34from waeup.interfaces import IDepartment
     
    1819        self.title_prefix = title_prefix
    1920        self.code = code
     21        self.courses = createObject(u'waeup.CourseContainer')
    2022
    2123class DepartmentFactory(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.