Loading tests/regressiontests/generic_relations_regress/tests.py +2 −1 Original line number Diff line number Diff line from django.db.models import Q from django.db.utils import IntegrityError from django.test import TestCase from django.test import TestCase, skipIfDBFeature from .models import (Address, Place, Restaurant, Link, CharLink, TextLink, Person, Contact, Note, Organization, OddRelation1, OddRelation2, Company, Loading Loading @@ -127,6 +127,7 @@ class GenericRelationTests(TestCase): note = Note(note='Note for guild', content_object=g1) note.save() @skipIfDBFeature('interprets_empty_strings_as_nulls') def test_gfk_to_model_with_empty_pk(self): """Test related to #13085""" # Saving model with GenericForeignKey to model instance with an Loading Loading
tests/regressiontests/generic_relations_regress/tests.py +2 −1 Original line number Diff line number Diff line from django.db.models import Q from django.db.utils import IntegrityError from django.test import TestCase from django.test import TestCase, skipIfDBFeature from .models import (Address, Place, Restaurant, Link, CharLink, TextLink, Person, Contact, Note, Organization, OddRelation1, OddRelation2, Company, Loading Loading @@ -127,6 +127,7 @@ class GenericRelationTests(TestCase): note = Note(note='Note for guild', content_object=g1) note.save() @skipIfDBFeature('interprets_empty_strings_as_nulls') def test_gfk_to_model_with_empty_pk(self): """Test related to #13085""" # Saving model with GenericForeignKey to model instance with an Loading