source: waeup/branches/ulif-namespace/src/sirp/hostel/hostel.py @ 4916

Last change on this file since 4916 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: 324 bytes
Line 
1import grok
2from waeup.interfaces import IHostel
3
4class Hostel(grok.Container):
5    """This is a hostel record.
6    """   
7    grok.implements(IHostel)
8 
9    def __init__(self, name=u'Unnamed Hostel', **kw):
10        super(Hostel, self).__init__(**kw)
11        self.name = name
12
13grok.global_utility(Hostel, provides=IHostel)
Note: See TracBrowser for help on using the repository browser.