#36580: Model validation of constraints fails if condition's Q object references
ForeignObject
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner:
| JaeHyuckSa
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by JaeHyuckSa):
Replying to [comment:6 Jacob Walls]:
> Reopening, my constraint didn't match my models. Sorry for the noise!
>
> > Is there a way to run the system checks inside the Django source
repository rather than in my own project?
>
> I'm not sure we run system checks on test models. Not super relevant to
this ticket, as I was just totally wrong in this case, but I have noticed
it when working in the test suite that test models might not be 100%
valid.
I wasn’t aware of that. I’ll keep it in mind in future tests. Thank you
for your response.
--
Ticket URL: <https://code.djangoproject.com/ticket/36580#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070198fadd994b-4808fb83-1af4-4818-a094-cd3fe1d75394-000000%40eu-central-1.amazonses.com.