Hi,
First, try to understand the error messages. It says there are fields that are
required, but you are leaving them blank. Then, there are some fields those
cannot have "null", but soemhow you are adding null values to them.
I would suggest using below Django CLI commands to add the data to
On Tuesday, February 19, 2019 at 10:02:32 PM UTC+5:30, optvi...@gmail.com
wrote:
>
> Hi I have data like this
> {
> "Name" : "pk",
> "Applist" : ["zom","bc"],
> "Url": ["As","de"]
>
> }
>
> How to define field name for list I am not getting
i define a class with foreign key but still
...@gmail.com
Sent: Tuesday, February 19, 2019 10:02 AM
To: Django users
Subject: How to create model for this json data
Hi I have data like this
{
"Name" : "pk",
"Applist" : ["zom","bc"],
"Url": ["As","de"]
}
How to define
Hi I have data like this
{
"Name" : "pk",
"Applist" : ["zom","bc"],
"Url": ["As","de"]
}
How to define field name for list I am not getting
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
4 matches
Mail list logo