don't add title & description fields by default
This commit is contained in:
parent
56879c86bf
commit
b385afa525
|
@ -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]
|
||||
|
|
|
@ -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""
|
||||
|
|
Reference in New Issue