triviOS/ui/main/urls.py

10 lines
201 B
Python

from django.urls import path
from .views import home, led, take_photo
urlpatterns = [
path("", home, name="home"),
path("led/<int:led>/", led, name="leds"),
path("photo/", take_photo),
]