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: ...@@ -46,9 +46,9 @@ class Document:
_constraints = ( _constraints = (
{ {
'id' : 'unique_coordinates', # XXX-JPS plural naming - rename to unique_coordinate 'id' : 'unique_reference',
'description' : 'coordinate triplet must be complete and unique', 'description' : 'The reference, language and version should be unique',
'type' : 'DocumentCoordinatesConstraint'}, # XXX-JPS plural - rename to DocumentCoordinateConstraint '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