Update urls and views

This commit is contained in:
2022-02-14 18:17:04 +01:00
parent 27564be205
commit 9678ba3789
3 changed files with 34 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
from django.urls import path
from driver.views import SendCommand, Function, Cab, Emergency, Infra
from driver.views import SendCommand, Function, Cab, Emergency, Infra, Test
urlpatterns = [
path('test', Test.as_view()),
path('emergency', Emergency.as_view()),
path('infra', Infra.as_view()),
path('command', SendCommand.as_view()),