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

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