mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Refs #36075 -- Used field in pk_fields over field.primary_key.
This commit is contained in:
@@ -118,6 +118,10 @@ class CompositePKModelsTests(TestCase):
|
||||
|
||||
self.assertSequenceEqual(ctx.exception.messages, messages)
|
||||
|
||||
def test_full_clean_update(self):
|
||||
with self.assertNumQueries(1):
|
||||
self.comment_1.full_clean()
|
||||
|
||||
def test_field_conflicts(self):
|
||||
test_cases = (
|
||||
({"pk": (1, 1), "id": 2}, (1, 1)),
|
||||
|
||||
Reference in New Issue
Block a user