urls.py 568 B

12345678910111213141516
  1. # Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
  2. # Copyright: (c) <spug.dev@gmail.com>
  3. # Released under the AGPL-3.0 License.
  4. from django.urls import path
  5. from .views import *
  6. urlpatterns = [
  7. path('request/', RequestView.as_view()),
  8. path('request/info/', get_request_info),
  9. path('request/ext1/', post_request_ext1),
  10. path('request/ext1/rollback/', post_request_ext1_rollback),
  11. path('request/ext2/', post_request_ext2),
  12. path('request/upload/', do_upload),
  13. path('request/<int:r_id>/', RequestDetailView.as_view()),
  14. ]