mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4305fbe8b1
commit
895b15771e
@@ -8,6 +8,7 @@ class ParentManager(models.Manager):
|
||||
|
||||
class Parent(models.Model):
|
||||
parent_data = models.CharField(max_length=30, unique=True)
|
||||
parent_m2m = models.ManyToManyField('self')
|
||||
|
||||
objects = ParentManager()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user