aldryn / aldryn-blog

aldryn-blog IS DEPRECATED. PLEASE USE aldryn-newsblog!
Other
20 stars 35 forks source link

Can't sync the db #87

Open rando305 opened 9 years ago

rando305 commented 9 years ago

When trying to makemigrations, I get an error "taggit_tag" does not exist.
LINE 1: SELECT "taggit_tag"."name" FROM "taggit_tag" ^

chronossc commented 9 years ago

You have taggit in your INSTALLED_APPS ? The package is django-taggit and should be installed.

XFJH commented 9 years ago

when i do follow https://django-cms.readthedocs.org/en/support-3.0.x/introduction/third_party.html on the final step: python manage.py migrate django.db.utils.OperationalError: no such table: taggit_tag

i can make sure that i installed taggit (0.11) "taggit" in my "INSTALLED_APPS"

mkoistinen commented 9 years ago

Make sure you also migrate: python manage.py migrate

JoeCora commented 9 years ago

I had the same problem as @rando305 and @XFJH -> _LINE 1: SELECT "taggit_tag"."name" FROM "taggittag". My solution was to first migrate only the Django taggit app, which should be under INSTALLED_APPS as 'taggit'. After the successful migration of taggit, I added the rest of the Aldryn Blog apps to the INSTALLED_APPS and migrated those. Everything seems to work fine now.