urls.py 368 B

1234567891011
  1. # urls.py
  2. from django.urls import path
  3. from .views import AttributeScoreView, BatchScoreView
  4. urlpatterns = [
  5. path("attribute_score/", AttributeScoreView.as_view(), name="attribute_score"),
  6. path("attribute_score/<str:sku>/", AttributeScoreView.as_view(), name="get_attribute_score"),
  7. path("batch_score/", BatchScoreView.as_view(), name="batch_score"),
  8. ]