L
L
Loneattic2020-06-23 23:48:27
Django
Loneattic, 2020-06-23 23:48:27

How to get objects of classes of heirs of an abstract class?

There is a class Test(models.Model)
I received objects Test.objects.all()
Then I decided to make it abstract, how to get the objects of all its descendants correctly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question