-
Camera 1 (Вишня)
-
Путь: /app/storage/Camera1
-
-
-
+ {% for camera in cameras %}
+
+
+

+
+
{{ camera.name }}
+
Путь: {{ camera.storage_path }}
+
-
+ {% empty %}
+
+
Нет активных камер. Добавь их в админке.
+
+ {% endfor %}
{% endblock %}
\ No newline at end of file
diff --git a/camlaps/urls.py b/camlaps/urls.py
index 7adc220..1983ba9 100644
--- a/camlaps/urls.py
+++ b/camlaps/urls.py
@@ -1,8 +1,13 @@
from django.urls import path
+
from . import views
app_name = 'camlaps'
urlpatterns = [
path('', views.index, name='index'),
+ path('cameras/