urls.py 333 B

123456789101112
  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('', RepositoryView.as_view()),
  8. path('<int:r_id>/', get_detail),
  9. path('request/', get_requests),
  10. ]