Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #17810

This applies some conditions to the unique constraint on the Device model, which prevents DRF from raising a validation error when rack is set but position is not.

@jeremystretch
Copy link
Member Author

Holding on this for now as we investigate a related issue (#18132) which may require a similar fix.

@jeremystretch jeremystretch deleted the 17810-api-rack-device branch December 5, 2024 01:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 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)

3 participants