Django syncdb tries to delete table that does not exist

150 views Asked by At

I am running syncdb. Django finds a content type where I have deleted the corresponding table already:

The following content types are stale and need to be deleted:

    installs | socialdata

After answering 'yes' to continue, Django tries to delete a table tagging_taggeditem that's been removed ages ago.

I have checked the django_content_type table, but it has no entry pointing to that old table.

Any ideas?

(django 1.6)

1

There are 1 answers

0
kev On
pip freeze | grep tagging
django-tagging==0.3.1

and I found a file that still had an old import:

from tagging import models as taggingmodels

After removing that syncdb runs fine.