Hi team, i used generic.RetrieveAPIVIEW class in drf django and i in t
Hi team, i used generic.RetrieveAPIVIEW class in drf django and i in this class i used get_object method in this method
return output=get_objects_or_404(mymodel,id=2)
how can i add new field in this query?
When i used output.newfield=4 it can not add this field to output