spug/spug_api/apps/schedule/urls.py

13 lines
340 B
Python

# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <spug.dev@gmail.com>
# Released under the AGPL-3.0 License.
from django.urls import path
from .views import *
urlpatterns = [
path('', Schedule.as_view()),
path('<int:t_id>/', HistoryView.as_view()),
path('run_time/', next_run_time),
]