If for example, I define a model Rating with field oneof towards model Movie, I would like to be able to reverse the relation, and obtain all ratings records of a movie :
/models/movie/records/38/ratings
In this view, we should :
check that there is a oneof field pointing to movie, with a oneof field that has reverse name "ratings"
get all ratings objects whose oneof fields value is 38
If for example, I define a model Rating with field
oneof
towards model Movie, I would like to be able to reverse the relation, and obtain all ratings records of a movie :/models/movie/records/38/ratings
In this view, we should :
oneof
field pointing to movie, with a oneof field that has reverse name "ratings"Could be similar with anyof :)