mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[1.7.x] Split ignores_nulls_in_unique_constraints feature.
Oracle and SQL Server don't have exactly the same limitations. It's
worth treating them differently.
Backport of cff59bed from master
This commit is contained in:
@@ -661,7 +661,7 @@ class ModelFormsetTest(TestCase):
|
||||
self.assertEqual(book1.title, 'Flowers of Evil')
|
||||
self.assertEqual(book1.notes, 'English translation of Les Fleurs du Mal')
|
||||
|
||||
@skipUnlessDBFeature('ignores_nulls_in_unique_constraints')
|
||||
@skipUnlessDBFeature('supports_partially_nullable_unique_constraints')
|
||||
def test_inline_formsets_with_nullable_unique_together(self):
|
||||
# Test inline formsets where the inline-edited object has a
|
||||
# unique_together constraint with a nullable member
|
||||
|
||||
Reference in New Issue
Block a user