Changeset 4260 for waeup/branches


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

Fix parameters.

File:
1 edited

Legend:

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

    r4259 r4260  
    1111    def __init__(self,
    1212                 title=u'Unnamed Course',
    13                  code=u'NA', **kw):
     13                 code=u'NA',
     14                 level=None,
     15                 passmark=40,
     16                 semester=1, **kw):
    1417        super(Course, self).__init__(**kw)
    1518        self.title = title
    1619        self.code = code
     20        self.level = level
     21        self.passmark = passmark
     22        self.semester = semester
    1723       
    1824class CourseFactory(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.