Browse Source

Move task.py to api

pull/1671/head
Hironsan 2 years ago
parent
commit
906c42b083
3 changed files with 2 additions and 2 deletions
  1. 4
      backend/api/urls.py
  2. 0
      backend/api/views.py
  3. 0
      backend/api/views/__init__.py

4
backend/api/urls.py

@ -1,11 +1,11 @@
from django.urls import path from django.urls import path
from .views import task
from .views import TaskStatus
urlpatterns = [ urlpatterns = [
path( path(
route='tasks/status/<task_id>', route='tasks/status/<task_id>',
view=task.TaskStatus.as_view(),
view=TaskStatus.as_view(),
name='task_status' name='task_status'
), ),
] ]

backend/api/views/task.py → backend/api/views.py

0
backend/api/views/__init__.py

Loading…
Cancel
Save