agateblue / django-dynamic-preferences

Dynamic global and instance settings for your django project
https://django-dynamic-preferences.readthedocs.org/
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

awebartisan commented 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 :)

agateblue commented 4 years ago

Hi @awebartisan, you can have a look at our REST API documentation to implement this.