Fixes #19302: Fix uniqueness validation in REST API for nullable fields #1093

Closed
opened 2026-04-05 20:34:47 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 10/9/2025

Fixes: #19302

Monkey-patch DRF's get_unique_validators() function to ignore UniqueConstraints with a condition which references a field other than the base field.

*Originally created by @jeremystretch on 10/9/2025* ### Fixes: #19302 Monkey-patch DRF's `get_unique_validators()` function to ignore UniqueConstraints with a condition which references a field other than the base field.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1093