mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-05 05:37:50 +02:00
Command does not require addr
This commit is contained in:
@@ -4,7 +4,7 @@ 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('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