_mysql_exceptions.OperationalError: (1170, "BLOB/TEXT column 'claimed_id' used in key specification without a key length")
to be honest i've never liked django's orm, when you want your textfield as unique you receive this problem.
myText = models.TextField(max_length=1024, unique=True) # error!
the only way to solve this problem is to leave off the unique=True and alter table to create the index, and re-add the unique=True.django-openid-auth suffers this problem as well. as you can easily guess, the solution is the above line. go into
django_openid_auth folder and open models.py and change the following line;
class UserOpenID(models.Model):
user = models.ForeignKey(User)
claimed_id = models.TextField(max_length=2047, unique=True) # here's the problem
display_id = models.TextField(max_length=2047)
change the claim_id as follows;
claimed_id = models.TextField(max_length=2047)