Closed Bibo-Joshi closed 5 days ago
In the current implementation this is already solved:
Because all existing options are stored first, because they are returned in the correct order by the polls API and because python dicts maintain order, the output is now rendered in same order as in the polls app.
I guess for now I can just add a corresponding comment above those lines. Then we rely only on the API to return the options in proper oder
This could be difficult if the categories are not always named the same.