summaryrefslogtreecommitdiff
path: root/tests/force_insert_update/models.py
diff options
context:
space:
mode:
authorAkash Kumar Sen <Akash-Kumar-Sen@users.noreply.github.com>2023-06-29 11:47:42 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-06-29 11:49:32 +0200
commitce204bed7f59e34a9ec226e1699db257ec33da30 (patch)
tree2000a94161e00f3f74d1262b8288f1fd7c0cca2b /tests/force_insert_update/models.py
parent6a523500af5bab3e05d9be9fc1a74d986c102f1a (diff)
Refs #30382 -- Added more tests for using force_insert with model inheritance.
Diffstat (limited to 'tests/force_insert_update/models.py')
-rw-r--r--tests/force_insert_update/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/force_insert_update/models.py b/tests/force_insert_update/models.py
index a98eadb4f9..586be12f13 100644
--- a/tests/force_insert_update/models.py
+++ b/tests/force_insert_update/models.py
@@ -23,6 +23,10 @@ class SubCounter(Counter):
pass
+class SubSubCounter(SubCounter):
+ pass
+
+
class WithCustomPK(models.Model):
name = models.IntegerField(primary_key=True)
value = models.IntegerField()