Доделал журнал ошибок
This commit is contained in:
@@ -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 "-"
|
||||
|
||||
Reference in New Issue
Block a user