* status: new => closed
* resolution: => invalid
Comment:
Thanks for the report, however Django is not at fault. `NULL` values don't
violate unique constraints so set of unique fields passed to the `ON
CONFLICT(...)` is not violated i.e. the `test_unique` constraint. The
second constraint (`test_coal_unique`) is violated but it's not taken into
account by `ON CONFLICT` statement. If you're having trouble understanding
how this statement is evaluated by your database, see
TicketClosingReasons/UseSupportChannels for ways to get help.
--
Ticket URL: <https://code.djangoproject.com/ticket/34225#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.