alex/django-taggit — Issue #92: when I sync db with taggit installed I get IntegrityError
Author: anentropic
Created: 2012-01-10 15:43:19+00:00
State: open

As soon as I add 'taggit' to INSTALLED_APPS I get an error when I try to syncdb:

File "c:\Python26\lib\site-packages\django\db\backends\util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "c:\Python26\lib\site-packages\django\db\backends\postgresql_psycopg2\base.py", line 44,
in execute
return self.cursor.execute(query, args)
django.db.utils.IntegrityError: null value in column "content_type_id" violates not-null constraint

I don't really understand as presumably it is just creating the table and not adding any rows (I don't see any fixtures)

The only existing tables with a `content_type_id` field are `auth_permission` and `django_admin_log` but neither of those have any rows with null values in presently.