Validating model.CheckConstraints #9648
Unanswered
thisisjab asked this question in Ideas & Suggestions
Replies: 1 comment 3 replies
-
I think this feature was added to Django a few versions back but that arrived at the time when DRF development slowed down, so support wasn't added until recently. There is currently partial support for it and some improvements were recently contributed, but some are :
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free to join this conversation on . Already have an account? Sign in to comment
-
As far as I am concerned, DRF does not automatically support checking for database constraints defined in
model._meta.constrainst
when it comes to serializer-level validation. Is there any reason why not?I am really determined to create a PR for this feature, but realized that DRF doesn't accept any new feature:
Why is that?
Beta Was this translation helpful? Give feedback.
All reactions