mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
11 lines
358 B
Python
11 lines
358 B
Python
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()),
|
|
]
|