M
M
mihzas2016-01-19 16:04:07
Django
mihzas, 2016-01-19 16:04:07

Why model is not created after migration?

There are three tables (typical m2m connection) Post, Author, PostAuthor,
during migration and registration in the admin panel everything goes fine, but when you click on PostAuthor in the admin panel, it throws an error, the table does not exist.
knowing the question is stupid, well, what did I forget to add (I sit stupid for half an hour) :)

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