Re: reg: Error:-django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length")

2020-02-25 Thread Ganesh Babu
users < django-users@googlegroups.com> wrote: > Hi, > > I am creating a model, which is taking a description as text field. when I > migrate I see the below error: > > django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' > used in key sp

Re: reg: Error:-django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length")

2020-02-25 Thread Naveen Arora
s text field. when I > migrate I see the below error: > > django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' > used in key specification without a key length") > > ON further research I came to know that its some limitation with MySQL. I > a

Re: reg: Error:-django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length")

2020-02-25 Thread Pankaj Sharma
; migrate I see the below error: > > django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' > used in key specification without a key length") > > ON further research I came to know that its some limitation with MySQL. I > am using MYSQL for my dev.

Re: reg: Error:-django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length")

2020-02-24 Thread Integr@te System
g a description as text field. when I > migrate I see the below error: > > django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' > used in key specification without a key length") > > ON further research I came to know that its some limitation with

reg: Error:-django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length")

2020-02-24 Thread 'Amitesh Sahay' via Django users
Hi,  I am creating a model, which is taking a description as text field. when I migrate I see the below error: django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'Description' used in key specification without a key length") ON further research I came to know that its some

Re: key specification without a key length

2016-02-22 Thread Mike Dewhirst
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 'id' used in key specification without a

Re: key specification without a key length

2016-02-22 Thread Sammi Singh
ot;, 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 'id' used in key specif

Re: key specification without a key length

2016-02-19 Thread Luis Zárate
> 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): >> >> Â

Re: key specification without a key length

2016-02-19 Thread Mike Dewhirst
On 20/02/2016 6:26 AM, Sammi Singh wrote: 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.

key specification without a key length

2016-02-19 Thread Sammi Singh
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.TextFi