Ignore:
Timestamp:
9 Feb 2009, 21:33:25 (16 years ago)
Author:
uli
Message:

Make Hostel a good Grok citizen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/hostel/hostel.py

    r3531 r3939  
    11import grok
    22from waeup.baseitem import BaseItem
    3 from interfaces import IHostel
     3from waeup.interfaces import IHostel
    44
    55
    6 class Hostel(BaseItem):
     6class Hostel(grok.Container):
    77    """This is a hostel record.
    88    """   
     
    1212        super(Hostel, self).__init__(**kw)
    1313        self.name = name
     14
     15grok.global_utility(Hostel, provides=IHostel)
Note: See TracChangeset for help on using the changeset viewer.