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 limitation wit
Hi Freind,
For simplify and minimize your dev time, review first in your err, code
base.
Thank your sharing and dont forget zen.
On Mon, Feb 24, 2020, 21:43 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:
> Hi,
>
> I am creating a model, which is taking a description as
You haven't set max_len of TextField, use this - do it like this --
Description = models.TextField(max_length=1000)
On Monday, February 24, 2020 at 8:14:25 PM UTC+5:30, Amitesh Sahay wrote:
>
> Hi,
>
> I am creating a model, which is taking a description as text field. when I
> migrate I see t
This can be resolved using max_length attribute. If it doesn't work try
deleting the migration files and doing makemigrations and migrate again.
On Monday, 24 February 2020 20:14:25 UTC+5:30, Amitesh Sahay wrote:
>
> Hi,
>
> I am creating a model, which is taking a description as text field. whe
Hi Team,
I am getting an issue that issue i.e., ERROR: Command errored out with
exit status 1: python setup.py egg_info Check the logs for full command
output.
i am trying to install mysql using django template. please help me.
On Mon, Feb 24, 2020 at 8:13 PM 'Amitesh Sahay' via Django use
5 matches
Mail list logo