ragb/frontend/frontend/urls.py
2024-11-07 20:57:13 +01:00

11 lines
322 B
Python

from django.urls import path
from .views import BumpView, HomeView, LightView, TokenView
app_name = "frontend"
urlpatterns = [
path("", HomeView.as_view(), name="home"),
path("light/<str:light>/", LightView.as_view()),
path("bump", BumpView.as_view(), name="bump"),
path("token", TokenView.as_view()),
]