1234567891011 |
- # urls.py
- from django.urls import path
- from .views import AttributeScoreView, BatchScoreView
- urlpatterns = [
- path("attribute_score/", AttributeScoreView.as_view(), name="attribute_score"),
- path("attribute_score/<str:sku>/", AttributeScoreView.as_view(), name="get_attribute_score"),
- path("batch_score/", BatchScoreView.as_view(), name="batch_score"),
- ]
|