Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter 2 errors: "no such colum: blog_post.tags" and "cannot query "jazz": Must be "Post" instance". #115

Open
luifernandof opened this issue Dec 28, 2022 · 5 comments

Comments

@luifernandof
Copy link

Finishing chapter 2, my app indicates the two errors:
Both errors are related to tags.
Checking the Post model table, it is not possible to identify the columns indicated in the errors, "blog_post.tags", in the same way in relation to "tag" or "slug-tag".
The fields in the Post table are those assigned in the created model.
I can't see the functions and attributes of the taggit module, so I can't identify the source of the error.
Thank you for any advice/comments on this matter. Thanks once again.

@IgorSok4
Copy link

IgorSok4 commented Jan 3, 2023

Hello, same issue here. I think it is about taggit updates since this book is already 2 years old.

@luifernandof
Copy link
Author

Hi Igor, thanks for the comment. You're right, it's a great possibility. The question is what impacts the sequence of the other chapters. Thanks again.

@levy1911
Copy link

levy1911 commented Jan 7, 2023

Try updating django-taggit package, it fixed my case.

@luifernandof
Copy link
Author

Thanks Levy for the support. My version of taggit is django-taggit 3.1.0. The problem still persists. Thanks.

@pythonyalfa
Copy link

did this ever get fixed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants