| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

ZopeSoapInitialize

Page history last edited by Elizabeth Leddy 11 years, 4 months ago

import zLOG

import transaction

from Products.CMFCore import DirectoryView

 

def initialize(context):

    app = context._ProductContext__app

    if not app.get('services'):

        DirectoryView.createDirectoryView(app, "z.soap:skins/services")

        zLOG.LOG("z.soap initializer", zLOG.INFO, "Added services directory view") 

        transaction.commit()     

Comments (0)

You don't have permission to comment on this page.