devicehub-django/action/urls.py

12 lines
259 B
Python
Raw Normal View History

2024-06-12 07:32:49 +00:00
from django.urls import path, include
2024-12-06 02:09:17 +00:00
from action import views
app_name = 'action'
urlpatterns = [
path("new/", views.NewActionView.as_view(), name="new_action"),
2024-12-06 23:04:23 +00:00
path('state/<int:pk>/undo/', views.ActionUndoView.as_view(), name='undo_action'),
2024-12-06 02:09:17 +00:00
]