[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - module.py:1.4

sree sree at mahiti.org
Wed Dec 17 05:21:19 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv2121/interfaces/services

Modified Files:
	module.py 
Log Message:
add views for file, image, dtml document, template file
Also have added ASCII widget in replace ment for Bytes field..
ASCII for text areas
Bytes should now on be used only for File/Binary data...


=== Zope3/src/zope/app/interfaces/services/module.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/module.py:1.3	Sun Aug 17 02:07:07 2003
+++ Zope3/src/zope/app/interfaces/services/module.py	Wed Dec 17 05:20:48 2003
@@ -20,7 +20,7 @@
 """
 
 from zope.interface import Interface
-from zope.schema import Bytes, BytesLine
+from zope.schema import Bytes, ASCII, BytesLine
 
 
 class IModuleManager(Interface):
@@ -39,7 +39,7 @@
 
     name = BytesLine(title=u"The module's name.", readonly=True)
 
-    source = Bytes(title=u"The module's source code.")
+    source = ASCII(title=u"The module's source code.")
 
 
 class IModuleService(Interface):




More information about the Zope3-Checkins mailing list