Yes, usually I print request.POST to check.
On Mon, 29 Oct 2018 at 19:11, Manjunath wrote:
>
> I think one of the numeric values you are passing is an empty string.
> Django is trying to cast it to int but failing to do so.
>
> Best solution would be to print each values before save() call & you w
I think one of the numeric values you are passing is an empty string.
Django is trying to cast it to int but failing to do so.
Best solution would be to print each values before save() call & you will
know which is the error causing column..
Hope it helps!!
On Sunday, October 28, 2018 at 8:35:
I usually get this error when I assign an object to a field rather than its pk.
So this is probably where your problem is:
clinicid=clinicobj.pk
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Joel Mathew
Sent: Saturday, October 2
3 matches
Mail list logo