[Checkins] SVN: zope.publisher/trunk/ Move IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.

Dan Korostelev nadako at gmail.com
Sun Mar 8 05:52:54 EDT 2009


Log message for revision 97659:
  Move IDefaultViewName from zope.component.interfaces to zope.publisher.interfaces.

Changed:
  U   zope.publisher/trunk/CHANGES.txt
  U   zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py

-=-
Modified: zope.publisher/trunk/CHANGES.txt
===================================================================
--- zope.publisher/trunk/CHANGES.txt	2009-03-08 09:48:50 UTC (rev 97658)
+++ zope.publisher/trunk/CHANGES.txt	2009-03-08 09:52:54 UTC (rev 97659)
@@ -33,8 +33,9 @@
 
 - Fix: Make IBrowserPage inherit IBrowserView.
 
-- Stop inheriting from some of deprecated (for years) interfaces defined
-  in zope.component.
+- Move IView and IDefaultViewName from zope.component.interfaces to
+  zope.publisher.interfaces. Stop inheriting from deprecated (for years)
+  interfaces defined in zope.component.
 
 - Remove deprecated code.
 

Modified: zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py	2009-03-08 09:48:50 UTC (rev 97658)
+++ zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py	2009-03-08 09:52:54 UTC (rev 97659)
@@ -462,3 +462,11 @@
 
     request = Attribute("The request object that requested the view")
     context = Attribute("The context object that the view is for")
+
+
+class IDefaultViewName(Interface):
+    """A string that contains the default view name
+
+    A default view name is used to select a view when a user hasn't
+    specified one.
+    """



More information about the Checkins mailing list