Please try to remove the quotation marks in < max_length=‘200’ >.
> 在 2019年8月5日,下午7:39,Mudasir Mian 写道:
>
> Dear Team,
> im facing this error in models
> help me please
>
>
> --
> You received this message because you are subscribed to the Google Gro
Is 200 not '200'
On Mon, 5 Aug 2019, 17:24 Mudasir Mian Dear Team,
> im facing this error in models
> help me please
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this grou
Is an integer not string 200
On Mon, 5 Aug 2019, 17:24 Mudasir Mian Dear Team,
> im facing this error in models
> help me please
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this
e:
>
>> Dear Team,
>> im facing this error in models
>> help me please
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving em
I believe you just need to remove the parentheses because it just needs a
number not a string.
Die Empty
On Mon, Aug 5, 2019, 10:24 AM Mudasir Mian wrote:
> Dear Team,
> im facing this error in models
> help me please
>
> --
> You received this message because you are subscr
Remove the quotes
On Mon, Aug 5, 2019 at 11:24 AM Mudasir Mian
wrote:
> Dear Team,
> im facing this error in models
> help me please
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe
Dear Team,
im facing this error in models
help me please
--
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+unsubscr...@googlegroups.com.
To
On Sun, 19 May 2013 06:38:50 -0700 (PDT)
Kai Schlamp wrote:
> Hello.
>
> How to raise a `ValidationException` in the models `clean` method?
>
> def clean(self):
> from django.core.exceptions import ValidationError
> raise ValidationError({'title': 'not ok'})
>
> The above d
Hello.
How to raise a `ValidationException` in the models `clean` method?
def clean(self):
from django.core.exceptions import ValidationError
raise ValidationError({'title': 'not ok'})
The above does not add the error to the `title` field (when using a form),
but to the non
9 matches
Mail list logo