source: waeup/trunk/src/waeup/university/faculty.py @ 3526

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 
1import grok
2from interfaces import IFaculty
3
4class 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
11class Index(grok.DisplayForm):
12    form_fields = grok.AutoFields(IFaculty)
13
14
Note: See TracBrowser for help on using the repository browser.