Dynamic global and instance settings for your django project
BSD 3-Clause "New" or "Revised" License
350
stars
87
forks
source link
[QUESTION] How do I update the preferences of arbitrary model in Django REST Framework? #215
Closed
awebartisan closed 4 years ago
I have a model named Post. I associated the preferences with it and I am able to retrieve them as Post object children on API endpoint.
But how do I update them? Will there be a separate endpoint needed like
post/1/preferences
?Any example would be of great help. Thanks :)