don't add title & description fields by default

This commit is contained in:
David Glick 2013-01-15 16:14:16 -08:00
parent 56879c86bf
commit b385afa525
2 changed files with 4 additions and 10 deletions

View File

@ -4,6 +4,9 @@ Changelog
2.1.1 (unreleased)
------------------
* No longer add title and description fields to new FTIs by default.
[davisagli]
* When pasting into a dexterity container check the FTI for the the pasted
object to see if it is allowed in the new container.
[wichert]

View File

@ -125,16 +125,7 @@ class DexterityFTI(base.DynamicViewTypeInformation):
klass = 'plone.dexterity.content.Item'
model_source = """\
<model xmlns="http://namespaces.plone.org/supermodel/schema">
<schema>
<field name="title" type="zope.schema.TextLine">
<title>Title</title>
<required>True</required>
</field>
<field name="description" type="zope.schema.Text">
<title>Description</title>
<required>False</required>
</field>
</schema>
<schema />
</model>
"""
model_file = u""