[Zope3-checkins] CVS: Products3/NewsSite - configure.zcml:1.3 interfaces.py:1.3
Tres Seaver
tseaver@zope.com
Wed, 26 Mar 2003 06:54:10 -0500
Update of /cvs-repository/Products3/NewsSite
In directory cvs.zope.org:/tmp/cvs-serv29890
Modified Files:
configure.zcml interfaces.py
Log Message:
- configure.zcml:
o Include NewsItem sub-package configuration.
- interfaces.py:
o Make INewsSite derive from IContentContainer, so that it gets
its add list back.
=== Products3/NewsSite/configure.zcml 1.2 => 1.3 ===
--- Products3/NewsSite/configure.zcml:1.2 Wed Mar 26 05:47:53 2003
+++ Products3/NewsSite/configure.zcml Wed Mar 26 06:54:09 2003
@@ -2,6 +2,7 @@
xmlns='http://namespaces.zope.org/zope'
xmlns:browser='http://namespaces.zope.org/browser'
>
+<include package=".NewsItem" />
<!-- Configuration for News Site Object -->
<content
class=".newssite.NewsSite">
=== Products3/NewsSite/interfaces.py 1.2 => 1.3 ===
--- Products3/NewsSite/interfaces.py:1.2 Wed Mar 26 05:47:53 2003
+++ Products3/NewsSite/interfaces.py Wed Mar 26 06:54:09 2003
@@ -18,8 +18,9 @@
from zope.interface import Interface
from zope.schema import TextLine, Password
+from zope.app.interfaces.container import IContentContainer
-class INewsSite(Interface):
+class INewsSite(IContentContainer):
"""Provides a marker interface for news site"""
class IMember(Interface):