urls.py 526 B

1234567891011121314151617
  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. from apps.home.notice import NoticeView
  7. from apps.home.navigation import NavView
  8. urlpatterns = [
  9. path('statistic/', get_statistic),
  10. path('alarm/', get_alarm),
  11. path('deploy/', get_deploy),
  12. path('request/', get_request),
  13. path('notice/', NoticeView.as_view()),
  14. path('navigation/', NavView.as_view()),
  15. ]