#35712: CheckConstraint with RawSQL breaks ModelForm when inside
transaction.atomic()
-------------------------------------+-------------------------------------
Reporter: a-p-f | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by a-p-f):
Thanks for the quick input Simon.
I gave a quick stab at writing a PR, but I'm not familiar enough with
Django's test suite. This issue does not occur when using sqlite, and I'm
not sure how to run any of the tests from Django's test suite using
postgres as the database engine.
I'm happy to keep working on this if someone wants to point me in the
right direction, but it's such a small patch/test that it's probably
easier for someone else to handle it.
Alex
--
Ticket URL: <https://code.djangoproject.com/ticket/35712#comment:2>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107019195a1cc5a-99643315-97fb-4ffa-b8ac-9c1580d0f2c7-000000%40eu-central-1.amazonses.com.