mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add driver app
This commit is contained in:
10
dcc/driver/urls.py
Normal file
10
dcc/driver/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.urls import path
|
||||
from driver.views import SendCommand, Function, Cab, Emergency, Infra
|
||||
|
||||
urlpatterns = [
|
||||
path('emergency', Emergency.as_view()),
|
||||
path('infra', Infra.as_view()),
|
||||
path('<int:address>/command', SendCommand.as_view()),
|
||||
path('<int:address>/cab', Cab.as_view()),
|
||||
path('<int:address>/function', Function.as_view()),
|
||||
]
|
Reference in New Issue
Block a user