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
- [Django]-Running Gunicorn behind chrooted nginx inside virtualenv
- [Django]-Resize image in the views and load it in the templates in django
- [Django]-Django 1.6 + RabbitMQ 3.2.3 + Celery 3.1.9 – why does my celery worker die with: WorkerLostError: Worker exited prematurely: signal 11 (SIGSEGV)
- [Django]-Django-jquery-file-upload with model OneToOneField
Source:stackexchange.com