Доделал журнал ошибок

This commit is contained in:
2025-12-16 10:19:21 +03:00
parent 1a953cc558
commit 0b34fbd720
7 changed files with 318 additions and 47 deletions

View File

@@ -198,7 +198,7 @@ class SatelliteListView(LoginRequiredMixin, View):
processed_satellites = []
for satellite in page_obj:
# Get band names
band_names = [band.name for band in satellite.band.all()]
band_names = [f"{band.name}({int(band.border_start)}-{int(band.border_end)})" for band in satellite.band.all()]
# Get location_place display value
location_place_display = dict(Satellite.PLACES).get(satellite.location_place, "-") if satellite.location_place else "-"