11 lines
322 B
Python
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()),
|
|
]
|