ySQLdb/cursors.py", line 205, in
execute
self.errorhandler(self, exc, value)
File "/Library/Python/2.7/site-packages/MySQLdb/connections.py", line 36,
in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.OperationalError: (1170, "BLOB/TEXT column
Hi,
I'm new wot Django and stuck with below error when run migrate. Any
suggestions??
*django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'id' used in
key specification without a key length")*
Here is my code:
class Steps(models.Model):
author = models.ForeignKey(User)
#id =
Hi,
I'm new to Django and facing this error "*django.db.utils.OperationalError:
(1170, "BLOB/TEXT column 'id' used in key specification without a key
length")*"
Here is my code:
class Steps(models.Model):
author = models.ForeignKey(User)
#id = models.TextField(primary_key=True)
3 matches
Mail list logo