Last change
on this file since 5237 was
4789,
checked in by uli, 15 years ago
|
Merge changes from ulif-layout back into trunk (finally).
|
-
Property svn:eol-style set to
native
|
File size:
282 bytes
|
Rev | Line | |
---|
[3526] | 1 | ## |
---|
| 2 | ## interfaces.py |
---|
| 3 | from zope.interface import Interface |
---|
| 4 | from zope import schema |
---|
| 5 | |
---|
| 6 | class IStudent(Interface): |
---|
| 7 | """Representation of a student. |
---|
| 8 | """ |
---|
| 9 | name = schema.TextLine( |
---|
| 10 | title = u'Name of student', |
---|
| 11 | default = u'Nobody', |
---|
| 12 | required = True, |
---|
| 13 | ) |
---|
| 14 | |
---|
Note: See
TracBrowser for help on using the repository browser.