alan-turing-institute / CROP

CROP is a Research Observation Platform
MIT License
25 stars 5 forks source link

Move a lot of work into queries.py and the Postgres server #386

Closed mhauru closed 1 year ago

mhauru commented 1 year ago

Cleaner, nicer code, and the harvest list query also happens to run much faster after these changes. Some things that used to be done by the web server and are now done by the Postgres server:

Also includes a bunch of miscellaneous other changes done on the way, such as using a Jinja filter to format date strings and some bug fixes.