add new api
This commit is contained in:
@@ -33,8 +33,10 @@ from .views import (
|
||||
ArchiveEvaluationrequestView, GetArchivedAutoEvaluationListAPIView, ArchivedAutoEvaluation,
|
||||
GetArchivedQuickevaluationListAPIView, ChangeQuickevaluationAPIView, ArchivedReqEvaluation,
|
||||
GetArchivedReqEvaluationListAPIView,
|
||||
AvgCostView,
|
||||
)
|
||||
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register("document-category", DocumentCategoryView, basename="DocumentCategory")
|
||||
router.register("document", DocumentView, basename="Document")
|
||||
@@ -95,5 +97,9 @@ urlpatterns = [
|
||||
|
||||
path("req-evaluvation-change-status/", GetArchivedReqEvaluationListAPIView.as_view(),
|
||||
name="archived-req-evaluation"),
|
||||
|
||||
path(
|
||||
"calculate_avg_cost/",
|
||||
AvgCostView.as_view(),
|
||||
name="calculate-avg-cost"
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user