templates for index and sensor pages
This commit is contained in:
@@ -3,5 +3,10 @@ from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index'),
|
||||
# http://127.0.0.1:8000/home/
|
||||
path('', views.index, name='homeweather_home'),
|
||||
# http://127.0.0.1:8000/home/sensor/0/
|
||||
path('sensor/<int:sensor>/', views.sensor, name='sensor'),
|
||||
# http://127.0.0.1:8000/home/meas/0/1/
|
||||
path('meas/<int:sensor>/<int:measurement>/', views.measurement, name='meas'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user