via Django 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'
> use
ion 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 MySQL.
> 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 MY
h 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
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
b/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 'id
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
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 = mo
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):
  a
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
10 matches
Mail list logo