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
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
; 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.
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
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
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
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
> 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):
>>
>> Â
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.
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
10 matches
Mail list logo