Thursday, May 20, 2021

Need guidance

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bc8ca439-ae30-4d26-8067-bedff3d1cd0fn%40googlegroups.com.

No comments:

Post a Comment