UniqueConstraint not working properly
#9470
Unanswered
SilenceInside
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The new 3.15.0 release introduced a bug with validation unique constraint
add test case for drf tests
we have validation error:
{'race_name': [ErrorDetail(string='unique constraint model with this race name already exists.', code='unique')]}In serializer data we have
active=False, but under the hood drf make check:Looks like a bug
p.s. I saw issues about
UniqueTogetherbut I'm not sure if it's the sameBeta Was this translation helpful? Give feedback.
All reactions