Changeset 3531 for waeup/trunk/src


Ignore:
Timestamp:
30 Jun 2008, 17:03:53 (16 years ago)
Author:
cliersch
Message:

Hostel add form

Location:
waeup/trunk/src/waeup/hostel
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/hostel/hostel.py

    r3529 r3531  
     1import grok
    12from waeup.baseitem import BaseItem
     3from interfaces import IHostel
     4
    25
    36class Hostel(BaseItem):
    4     pass
     7    """This is a hostel record.
     8    """   
     9    grok.implements(IHostel)
     10 
     11    def __init__(self, name=u'Unnamed Hostel', **kw):
     12        super(Hostel, self).__init__(**kw)
     13        self.name = name
Note: See TracChangeset for help on using the changeset viewer.