Hello I need to modify some data before the rest framework sends it to a client. The data being sent is from a model object.
Here's a code example of my model.
class UserOptions(models.Model):
options = models.TextField(null=False, null=True)
Now when the client requests a specific users options I need to modify options by adding a combination of elements from 2-3 other models into a big JSON String. How can I accomplish this, I assume through a Serializer but I'm not sure how to specifically modify a requested field accordingly.