Commit df07150d authored by Jean-Paul Smets's avatar Jean-Paul Smets

Use appropriate constraint.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11828 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54d0c561
......@@ -46,9 +46,9 @@ class Document:
_constraints = (
{
'id' : 'unique_coordinates', # XXX-JPS plural naming - rename to unique_coordinate
'description' : 'coordinate triplet must be complete and unique',
'type' : 'DocumentCoordinatesConstraint'}, # XXX-JPS plural - rename to DocumentCoordinateConstraint
'id' : 'unique_reference',
'description' : 'The reference, language and version should be unique',
'type' : 'DocumentReferenceConstraint'},
)
......
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