error in models

8 views
Skip to first unread message

Mudasir Mian

unread,
Aug 5, 2019, 3:24:28 PM8/5/19
to django...@googlegroups.com

Dear Team,

im facing this error in models
help me please

E121.PNG

Vijay Khemlani

unread,
Aug 5, 2019, 3:28:17 PM8/5/19
to django...@googlegroups.com
Remove the quotes

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPoXitiJ5ofvswBE7Zjz72RGNoUunHmgoEi5PEOMsCC5-xHNRA%40mail.gmail.com.

Eliseo Rodriguez

unread,
Aug 5, 2019, 3:50:38 PM8/5/19
to django...@googlegroups.com
I believe you just need to remove the parentheses because it just needs a number not a string.

Die Empty

rahul verma

unread,
Aug 5, 2019, 9:55:24 PM8/5/19
to django...@googlegroups.com
it should be max_length=200  (not '200')

DANIEL URBANO DE LA RUA

unread,
Aug 5, 2019, 11:13:40 PM8/5/19
to django...@googlegroups.com
Is an integer not string 200

DANIEL URBANO DE LA RUA

unread,
Aug 5, 2019, 11:15:06 PM8/5/19
to django...@googlegroups.com
Is 200 not '200'

On Mon, 5 Aug 2019, 17:24 Mudasir Mian <mudasir...@gmail.com wrote:

胡超

unread,
Aug 6, 2019, 2:09:17 AM8/6/19
to django...@googlegroups.com
Please try to remove the quotation marks in < max_length=‘200’ >.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPoXitiJ5ofvswBE7Zjz72RGNoUunHmgoEi5PEOMsCC5-xHNRA%40mail.gmail.com.
<E121.PNG>

Reply all
Reply to author
Forward
0 new messages