Commit e5a9c34b authored by Romain Courteaud's avatar Romain Courteaud

Constraint should be used by default only if it is necessary from a system point of view.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12727 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2eb34098
......@@ -44,12 +44,14 @@ class Document:
# and removed from here
'publication_section', 'function', 'group', 'site')
_constraints = (
{
'id' : 'unique_reference',
'description' : 'The reference, language and version should be unique',
'type' : 'DocumentReferenceConstraint'},
)
# XXX Romain: constraint should be used by default only if
# it is necessary from a system point of view
# _constraints = (
# {
# 'id' : 'unique_reference',
# 'description' : 'The reference, language and version should be unique',
# 'type' : 'DocumentReferenceConstraint'},
# )
# vim: shiftwidth=2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment