Ignore:
Timestamp:
1 Jan 2009, 16:44:07 (16 years ago)
Author:
uli
Message:

Make hostel container available as utility.

File:
1 edited

Legend:

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

    r3527 r3829  
     1import grok
     2
    13from waeup.basecontainer import BaseContainer
     4from waeup.interfaces import IHostelContainer
    25from hostel import Hostel
    36
    47class HostelContainer(BaseContainer):
     8
     9    grok.implements(IHostelContainer)
     10   
    511    name = u"Hostels"
    612    childClass = Hostel
     13
     14grok.global_utility(HostelContainer, provides=IHostelContainer)
Note: See TracChangeset for help on using the changeset viewer.