[Checkins] SVN: z3c.referercredentials/trunk/src/z3c/referercredentials/interfaces.py added value_type decl to interfaces (for use in ZMI)

Roy Mathew roymath at yahoo.com
Fri Jul 13 18:03:14 EDT 2007


Log message for revision 77888:
  added value_type decl to interfaces (for use in ZMI)

Changed:
  U   z3c.referercredentials/trunk/src/z3c/referercredentials/interfaces.py

-=-
Modified: z3c.referercredentials/trunk/src/z3c/referercredentials/interfaces.py
===================================================================
--- z3c.referercredentials/trunk/src/z3c/referercredentials/interfaces.py	2007-07-13 21:15:54 UTC (rev 77887)
+++ z3c.referercredentials/trunk/src/z3c/referercredentials/interfaces.py	2007-07-13 22:03:14 UTC (rev 77888)
@@ -29,6 +29,7 @@
     allowedHosts = zope.schema.Tuple(
         title=u'Allowed Hosts',
         description=u'A list of hosts allowed to access.',
+        value_type = zope.schema.TextLine(title=u"host"),
         default=('localhost',))
 
     credentials = zope.schema.Field(



More information about the Checkins mailing list