from django.urls import include, path from django.views.generic import TemplateView from rest_framework.routers import DefaultRouter from . import views # Register Router router = DefaultRouter() # register route ---> Rest API router.register('user-data', views.CPUserViewSet, basename='cp_user_data') router.register('central-payment-data', views.CPAdminViewSet, basename='central_payment_data') # django urls urlpatterns = [ path('api/v1/', include(router.urls)), path('users/cliamed//', views.ClimedRefund.as_view(),name="cp-users-claim-actions"), path('admin/actions/', views.AdminAction.as_view(),name="cp-admin-actions"), path('centralproject/', views.projectcenterdiscountHandler,name="projectcenterdiscountHandler"), # path('juggernautapi/', views.juggernautapi, name="juggernautapi"), # path('juggernautapi//', views.juggernautapi, name="juggernautapi"), # path('juggernautprojectcenterapi/', views.juggernaut_project_center_api, name="juggernautprojectcenterapi"), # path('juggernautprojectcenterapi//', views.juggernaut_project_center_api, name="juggernautprojectcenterapi"), # path('juggernautnarrationapi/', views.juggernaut_narration_api, name="juggernautnarrationapi"), # path('juggernautnarrationapi//', views.juggernaut_narration_api, name="juggernautnarrationapi"), # path('juggernautpitchdeckapi/', views.juggernaut_pitchdeck_api, name="juggernautpitchdeckapi"), # path('juggernautpitchdeckapi//', views.juggernaut_pitchdeck_api, name="juggernautpitchdeckapi"), # path('juggernautconversionapi/', views.juggernaut_conversion_api, name="juggernautconversionapi"), # path('juggernautconversionapi//', views.juggernaut_conversion_api, name="juggernautconversionapi"), # path('juggernautsubtitleapi/', views.juggernaut_subtitle_api, name="juggernautsubtitleapi"), # path('juggernautsubtitleapi//', views.juggernaut_subtitle_api, name="juggernautsubtitleapi"), # path('juggernautbeatsheetapi/', views.juggernaut_beatsheet_api, name="juggernautbeatsheetapi"), # path('juggernautbeatsheetapi//', views.juggernaut_beatsheet_api, name="juggernautbeatsheetapi"), path('test/', views.paymentTestView.as_view(), name="teest"), ]