#21636: distinct_on_fields tests require DatabaseFeature.ignores_nulls_in_unique_constraints -----------------------------------+-------------------- Reporter: manfre | Owner: nobody Type: Bug | Status: new Component: Testing framework | Version: 1.6 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 1 | UI/UX: 0 -----------------------------------+-------------------- {{{DistinctOnTests.setUp()}}} requires '''DatabaseFeature.ignores_nulls_in_unique_constraints'''.
Django-mssql would skip all of theses tests due to {{{can_distinct_on_fields = False}}}, but it throws a database exception during setUp when it tries to insert multiple NULLs for the '''greatest_fan''', nullable, unique field. -- Ticket URL: <https://code.djangoproject.com/ticket/21636> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.6abde0d8ca43467f6655dcb2713b769c%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.