We should create an abstract class API view that renders a list of postings on a get request, and on a post request it accepts a json object with id of the posting and a boolean flag indicating whether to save, like, etc. a posting or not. It should use the data in the json object to add the user to the list of saved users, liked users, etc. for that posting.
We should create an abstract class API view that renders a list of postings on a get request, and on a post request it accepts a json object with id of the posting and a boolean flag indicating whether to save, like, etc. a posting or not. It should use the data in the json object to add the user to the list of saved users, liked users, etc. for that posting.
We also need to remember to right tests for this.