2023-09-11 09:59:25 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
2023-09-13 22:44:31 +02:00
|
|
|
from .views import home, led, take_photo, button_detect
|
2023-09-11 09:59:25 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2023-09-13 18:38:24 +02:00
|
|
|
path("", home, name="home"),
|
|
|
|
path("led/<int:led>/", led, name="leds"),
|
|
|
|
path("photo/", take_photo),
|
2023-09-13 22:44:31 +02:00
|
|
|
path("button/<int:pin>/", button_detect),
|
2023-09-11 09:59:25 +02:00
|
|
|
]
|