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