diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-07 22:03:10 +0200 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-08 22:11:20 +0200 |
commit | cff59bedc23fd4d53557f677ddc42402b56963d0 (patch) | |
tree | 3ee14b070476d65b89fa0d5cdadb415e6710fa89 /tests/distinct_on_fields | |
parent | c70a61eb49e4ed8f3b2a5011a7a5e6cda43c8598 (diff) | |
download | django-cff59bedc23fd4d53557f677ddc42402b56963d0.tar.gz |
Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's
worth treating them differently.
Diffstat (limited to 'tests/distinct_on_fields')
-rw-r--r-- | tests/distinct_on_fields/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/distinct_on_fields/tests.py b/tests/distinct_on_fields/tests.py index 33ddf80ff4..3e6e6c2358 100644 --- a/tests/distinct_on_fields/tests.py +++ b/tests/distinct_on_fields/tests.py @@ -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') |