I deployed my django site on heroku and when i run my url which uses django taggit in it error shows up. I am using django taggit for meta keys to find related blogs.
Asked
Active
Viewed 806 times
4
-
Are you using Django 4.0? – Oleksii Tambovtsev Dec 27 '21 at 15:25
2 Answers
7
If you are using Django 4.0, there was an issue at django-taggit
. They have already fixed it, you should try to upgrade your package:
pip install django-taggit --upgrade
If this does not work, you can also try install actual version from git like this:
pip uninstall django-taggit
pip install git+https://github.com/jazzband/django-taggit.git@d0833966d357ed1e1b9b1f40c39c1ed99affbf9b

Oleksii Tambovtsev
- 2,666
- 1
- 3
- 21
-
-
I updated the answer, you can try one more option. If this does not work too, you should give us more information about your problem. – Oleksii Tambovtsev Dec 27 '21 at 15:42
-
-
The second solution worked for me. I just changed the install line into "pip install git+https://github.com/jazzband/django-taggit.git@master" – Paul Etienney Jan 06 '22 at 08:49
1
problem was the version of the django. From now i am using Django==3.2.5, and everything works fine.

Emil Huseynzade
- 51
- 2