[Django]-ImportError: No module named books.models

13👍

I’ve had to change it to this:

from books.models import Publisher, Author, Book

So basically, I had to take the mysite portion out.
Also, change installed apps from 'mysite.books' to just 'books'

I hope it helps

1👍

I had to do

from mysite.books.models import Publisher

to make it work.

👤EPQRS

Leave a comment