environment_sensors/sensors/collector/urls.py

10 lines
194 B
Python

from django.urls import path, include
from . import views
urlpatterns = [
path('', views.index_view, name='index'),
path('history/<int:hours>', views.history_view, name='history'),
]