postgres ArrayField will be suitable for your requirement. Serialization 
will work the same like it works for other fields.
On Thursday, 20 May 2021 at 21:00:14 UTC+5:30 xaadx...@gmail.com wrote:

> I wanna to store multiple value in django model using DRF e.g. i have to 
> choose three days from a week. I am using django rest framework. I have 
> tried many solution but failed
>
>
>
> 1. Which field i have to implement in django  model? CharField? Postgre 
> ArrayField?
> 2. How to serialize the data to store multiple values
>
>
> Thanks
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dccb57a6-60c5-46dd-bc07-e80b838b33e3n%40googlegroups.com.

Reply via email to