Last change
on this file since 3529 was
3529,
checked in by adiwidjaja, 17 years ago
|
Working import/export.
|
-
Property svn:eol-style set to
native
|
File size:
354 bytes
|
Line | |
---|
1 | import grok |
---|
2 | from waeup.basecontainer import BaseContainer |
---|
3 | from interfaces import IFaculty |
---|
4 | |
---|
5 | class Faculty(BaseContainer): |
---|
6 | grok.implements(IFaculty) |
---|
7 | |
---|
8 | def __init__(self, name=u'Unnamed Faculty', **kw): |
---|
9 | super(Faculty, self).__init__(**kw) |
---|
10 | self.name = name |
---|
11 | |
---|
12 | class Index(grok.DisplayForm): |
---|
13 | form_fields = grok.AutoFields(IFaculty) |
---|
14 | |
---|
15 | |
---|
Note: See
TracBrowser for help on using the repository browser.