12345678910111213141516 |
- from django.urls import path
- from .views.softwarelistview import SoftwareListView
- from .views.softwareview import SoftwareView, SoftwareEdit
- from .views.report import Report
- from .views.versionlistview import VersionListView
- from .views.versionview import VersionView, VersionEdit
- urlpatterns = [
- path('versions', VersionListView.as_view()),
- path('', SoftwareListView.as_view()),
- path('<str:software_id>', SoftwareView.as_view()),
- path('<str:software_id>/edit', SoftwareEdit.as_view()),
- path('<str:software_id>/versions', VersionView.as_view()),
- path('<str:software_id>/versions/edit', VersionEdit.as_view()),
- path('<str:software_id>/report', Report.as_view())
- ]
|