diff --git a/apps/gto/templates/gto_main.html b/apps/gto/templates/gto_main.html
index e8c4d29..249b5ad 100644
--- a/apps/gto/templates/gto_main.html
+++ b/apps/gto/templates/gto_main.html
@@ -133,8 +133,6 @@
Наименование |
Государственный номер |
Время координат |
- Широта |
- Долгота |
Скорость |
@@ -178,12 +176,6 @@
{{ catalog.time }}
|
-
- {{ catalog.lat }}
- |
-
- {{ catalog.lon }}
- |
{{ catalog.speed }}
|
diff --git a/apps/gto/views/views_main.py b/apps/gto/views/views_main.py
index edacfe9..4fa69ca 100644
--- a/apps/gto/views/views_main.py
+++ b/apps/gto/views/views_main.py
@@ -312,7 +312,7 @@ def main_index(request):
) # широта
param = request.GET.dict()
- date_start = datetime.now() - timedelta(days=1)
+ date_start = datetime.now() - timedelta(days=7)
my_filter = Q(block=False)
my_filter &= Q(time__gte=date_start)
clients = Equipment.objects.filter(my_filter).order_by("-time", "name").all()