Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-12 Thread David Sanders
Hi Simon, > This should already work for constraints over a single field but not on the ones with multiple fields[0] which is covered by the suite[1] but it doesn't look like UniqueConstraint.validate is providing code="unique" which might be the source of the issue you are encountering? Yep that

Re: UniqueConstraint validation error message conditional vs non-conditional

2022-09-12 Thread charettes
Hello David > Would it be possible to group the message by field in the same way as standard unique? This should already work for constraints over a single field but not on the ones with multiple fields[0] which is covered by the suite[1] but it doesn't look like UniqueConstraint.validate is p