Skip to content

Add scores, scoredvotes, recommendations to api

njoyard requested to merge scores-api-ffaeb858 into master

Created by: njoyard

This PR adds memopol entries to the REST api:

  • recommendations
  • representative scores
  • scored votes (ie. votes with their contribution to the rep score)
  • score contribution by dossier (via a new DossierScore model that maps to a DB view, because django querysets do not seem to enable aggregating over annotated fields)

Merge request reports