Python int too large to convert to SQLite INTEGER
のエラーが出た場合(自分はidをuuidにしてdjango-taggitを使ったら出た)
解決
from taggit.managers import TaggableManager
from taggit.models import GenericUUIDTaggedItemBase, TaggedItemBase
class UUIDTaggedItem(GenericUUIDTaggedItemBase, TaggedItemBase):
class Meta:
verbose_name = _("Tag")
verbose_name_plural = _("Tags")
class Hoge(models.Model):
tags = TaggableManager(blank=True, through=UUIDTaggedItem)
throughで中間テーブルを変更したらいけた。
verbose_nameとかは適当に変えてください。