mirror of https://github.com/openspug/spug
17 lines
568 B
Python
17 lines
568 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/info/', get_request_info),
|
|
path('request/ext1/', post_request_ext1),
|
|
path('request/ext1/rollback/', post_request_ext1_rollback),
|
|
path('request/ext2/', post_request_ext2),
|
|
path('request/upload/', do_upload),
|
|
path('request/<int:r_id>/', RequestDetailView.as_view()),
|
|
]
|