techmatters / terraso-backend

A Django project that powers the backend of Terraso platform.
GNU Affero General Public License v3.0
21 stars 4 forks source link

feat: Display depth interval data and settings in django admin panel #1382

Closed knipec closed 1 month ago

knipec commented 1 month ago

Adds these two change list views: Screenshot 2024-07-24 at 4 29 56 PM

For each project, shows the project name and the depth interval preset. When you click on a project, shows project soil settings like required inputs and defined depth intervals.

For each site, shows the site name and the depth interval preset. When you click on a site, shows entered site data, including data entered at each depth interval (DepthDependentSoilData) and interval definitions themselves (SoilDataDepthIntervals) -- which I find to be a slightly confusing model but that's how it works :)

Related Issues

N/A

Verification steps

Go to django admin panel, view the two new items