alan-turing-institute / CROP

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

Use modularised harvest queries for batch_list and batch_details #371

Closed mhauru closed 1 year ago

mhauru commented 2 years ago

We now have some nice methods in queries.py for doing the queries related to harvest data. We should use those, or add new ones as needed, to get rid of the database query code in the routes.py.