Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #17810: Disable DRF's native unique constraint checks #18162

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

jeremystretch
Copy link
Member

Fixes: #17810

Submitted as an alternate to PR #18108. This disabled DRF's unique constraint checks, which appear to be faulty (see encode/django-rest-framework/issues/9410).

ValidatedModelSerializer calls full_clean() on its associated instance, so the uniqueness checks should be redundant.

@jeremystretch jeremystretch merged commit 8c9bb73 into develop Dec 5, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17810-serializer-unique-constraints branch December 5, 2024 18:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't place multiple devices in rack with non-racked device (using API)
2 participants