spug/spug_api/apps/deploy/urls.py

13 lines
367 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('request/', RequestView.as_view()),
path('request/upload/', do_upload),
path('request/<int:r_id>/', RequestDetailView.as_view()),
]