Ignore:
Timestamp:
25 May 2009, 09:55:40 (15 years ago)
Author:
uli
Message:

Let University indicate, that it provides CSV receivers.

File:
1 edited

Legend:

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

    r4151 r4165  
    77
    88from waeup.interfaces import (IUniversity, IStudentContainer, IHostelContainer,
    9                               IFacultyContainer)
     9                              IFacultyContainer, ICSVDataReceivers)
    1010from waeup.viewlets import MainArea, LeftSidebar, Index, Manage, FormWrapMixin
    1111from waeup.authentication import setup_authentication
     
    1616    """A university.
    1717    """
    18     grok.implements(IUniversity)
     18    grok.implements(IUniversity, ICSVDataReceivers)
    1919    # Setup authentication for this app. Note: this is only
    2020    # initialized, when a new instance of this app is created.
     
    2222        PluggableAuthentication, provides = IAuthentication,
    2323        setup = setup_authentication)
    24 
     24   
    2525    def __init__(self, name=u'Sample University', **kw):
    2626        super(University, self).__init__(**kw)
     
    4949            return self.datacenter
    5050        return None
    51        
    52        
     51
     52   
    5353class ManageForm(grok.EditForm):
    5454    """Manage the basic properties of a `University` instance.
Note: See TracChangeset for help on using the changeset viewer.