from django.urls import path
from . import views
from .views import ZoneCropAPIView, UserCropPlanAPIView,CropPlanRowListCreateView,CropPlanRowFlexibleUpdateView

app_name = 'crops'

urlpatterns = [
    path('get-crop/', views.CropAPIView.as_view(),name='category'),
    path('zone-crops/', ZoneCropAPIView.as_view(), name='zone-crops'),
    path('user-crop-plan/',UserCropPlanAPIView.as_view(),name='crop-plan'),
    path('cropplan-row-create/',CropPlanRowListCreateView.as_view(),name='crop-plan-row-create'),
    path('cropplan-row-update/',CropPlanRowFlexibleUpdateView.as_view(),name='crop-plan-row-create'),

]