From 2f126562fc77cc4a37a38fdf8ed0d4832da09fdc Mon Sep 17 00:00:00 2001 From: helmutm Date: Sat, 28 Feb 2009 09:52:47 +0000 Subject: [PATCH] media asset: suppress 'modified' field by default git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3255 fd906abe-77d9-0310-91a1-e0d9ade77398 --- schema/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/factory.py b/schema/factory.py index 56c4aaf..e159446 100644 --- a/schema/factory.py +++ b/schema/factory.py @@ -53,7 +53,7 @@ class FileSchemaFactory(SchemaFactory): options = IOptions(self.context.type) hide = options('hide_fields') or [] show = options('show_fields') or [] - for f in ('contentType', 'externalAddress',): + for f in ('contentType', 'externalAddress', 'modified'): if f in schema.fields and f not in show: schema.fields.remove(f) for f in hide: