mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #31246 -- Fixed locking models in QuerySet.select_for_update(of=()) for related fields and parent link fields with multi-table inheritance.
Partly regression in 0107e3d105.
This commit is contained in:
committed by
Mariusz Felisiak
parent
41a3b3d186
commit
1712a76b9d
@@ -1,7 +1,11 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Country(models.Model):
|
||||
class Entity(models.Model):
|
||||
pass
|
||||
|
||||
|
||||
class Country(Entity):
|
||||
name = models.CharField(max_length=30)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user