1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Refs #30382 -- Added more tests for using force_insert with model inheritance.

This commit is contained in:
Akash Kumar Sen
2023-06-29 11:47:42 +02:00
committed by Mariusz Felisiak
parent 6a523500af
commit ce204bed7f
2 changed files with 45 additions and 1 deletions

View File

@@ -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()