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 you
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
You can use ForeignKey.
Or ArrayField if you're using PostgreSQL as your backend.
https://docs.djangoproject.com/en/2.1/ref/contrib/postgres/fields/#arrayfield
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of optvisi...@gmail.com
3 matches
Mail list logo