How can I make multiple value field?

118 Views Asked by At

How can I make a field that can accept more than one input and connect it to my database? For example : I want to make a field that is called 'user_skills' and the user can enter more than skil in that field .. How can I do that?

1

There are 1 best solutions below

0
On

Depends on the Database you are using. If you are using postgresSql you can do this with ArrayField link

Other possible options can be use JsonField or try to use normalize Model where you can store pre-define value's of corresponding field and can access them with ManyToManyField.