You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sections are listed by time of Speeches under them if there are any times, falling back to Section insertion (ID) order. This works okay, but you might want to e.g. insert two sets of same-date written answers (each a separate Section containing question and answer) to a particular department and have all topics listed in alphabetical order, not insertion order.
To consider - order_with_respect_to (adds column, manual (re)ordering then possible); a flag on Section to say "order its children this way" (dunno if recursive query will make that tricky, but current ordering is done in python after fetching anyway).
The text was updated successfully, but these errors were encountered:
Hi @clkao I see you linked to our load_popolo.py management command. It currently makes assumptions about how the API with Popolo data is structured - but I've been meaning to make it more generic, so if you intend to use something like it, I'd be happy to collaborate.
Sections are listed by time of Speeches under them if there are any times, falling back to Section insertion (ID) order. This works okay, but you might want to e.g. insert two sets of same-date written answers (each a separate Section containing question and answer) to a particular department and have all topics listed in alphabetical order, not insertion order.
To consider - order_with_respect_to (adds column, manual (re)ordering then possible); a flag on Section to say "order its children this way" (dunno if recursive query will make that tricky, but current ordering is done in python after fetching anyway).
The text was updated successfully, but these errors were encountered: