mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently.
This commit is contained in:
@@ -8,6 +8,7 @@ from .models import Tag, Celebrity, Fan, Staff, StaffTag
|
||||
|
||||
|
||||
@skipUnlessDBFeature('can_distinct_on_fields')
|
||||
@skipUnlessDBFeature('supports_nullable_unique_constraints')
|
||||
class DistinctOnTests(TestCase):
|
||||
def setUp(self):
|
||||
t1 = Tag.objects.create(name='t1')
|
||||
|
||||
Reference in New Issue
Block a user