N
N
newvasyuki2021-01-31 09:42:36
Django
newvasyuki, 2021-01-31 09:42:36

Inheritance and index_together: what's the problem?

There is a base abstract class (abstract=True) and two classes inherited from it. I add index_together to the Meta of the parent class, when run makemigrations gives 'No changes detected'. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
newvasyuki, 2021-01-31
@newvasyuki

Meta should also be inherited

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question