~replaceafill/ubuntu/trusty/schooltool/2.8_custom-css

« back to all changes in this revision

Viewing changes to src/schooltool/course/interfaces.py

  • Committer: Gediminas Paulauskas
  • Date: 2014-04-18 16:25:33 UTC
  • mfrom: (1.1.33)
  • Revision ID: menesis@pov.lt-20140418162533-noklnc6b89w2epee
Tags: 1:2.7.0-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from zope.container.constraints import contains, containers
25
25
from zope.interface import Interface, Attribute
26
26
 
 
27
from schooltool.app.interfaces import IRelationshipState
27
28
from schooltool.group.interfaces import IBaseGroup as IGroup
28
29
from schooltool.common import SchoolToolMessage as _
29
30
 
159
160
 
160
161
    def sections():
161
162
        """List of all the sections this instructor is teaching to."""
 
163
 
 
164
 
 
165
class IStudentRelationshipState(IRelationshipState):
 
166
 
 
167
    completed = zope.schema.Bool(
 
168
        title=_(u'Completed'), required=True)