from django.urls import path from dashboard.views import SpiListView, SpiCreateView, SpiUpdateView, SpiDeleteView, SpiDetailView, LanduseListView, \ LanduseCreateView, \ LanduseUpdateView, LanduseDeleteView, LanduseDetailView, HydroListView, HydroCreateView, HydroUpdateView, \ HydroDeleteView, HydroDetailView, FinanceListView, FinanceCreateView, FinanceUpdateView, FinanceDeleteView, \ FinanceDetailView, SpiImportView, HydroImportView, LanduseImportView, FinanceImportView, RevenueListView, \ RevenueCreateView, RevenueImportView, RevenueUpdateView, RevenueDeleteView, RevenueDetailView, SpiDataDetailView, \ PopulationListView, PopulationCreateView, PopulationImportView, PopulationUpdateView, PopulationDeleteView, \ PopulationDetailView, GDPListView, GDPCreateView, GDPImportView, GDPUpdateView, GDPDeleteView, GDPDetailView, \ SpiJCListView, SpiJCCreateView, SpiJCImportView, SpiJCUpdateView, SpiJCDeleteView, SpiJCDetailView from . import views urlpatterns = [ path('', views.index, name='dashboard-index'), path('spi/', SpiListView.as_view(), name='data-spi-list'), path('spi/add/', SpiCreateView.as_view(), name='data-spi-add'), path('spi/import/', SpiImportView.as_view(), name='data-spi-import'), path('spi/update//', SpiUpdateView.as_view(), name='data-spi-update'), path('spi//delete/', SpiDeleteView.as_view(), name='data-spi-delete'), path('spi//detail/', SpiDetailView.as_view(), name='data-spi-detail'), path('spi.json', views.spi_json, name='spi-json'), path('spi/datadetail/', views.SpiDataDetailView, name='data-spi-datadetail'), path('spi_jc/', SpiJCListView.as_view(), name='data-spi-jc-list'), path('spi_jc/add/', SpiJCCreateView.as_view(), name='data-spi-jc-add'), path('spi_jc/import/', SpiJCImportView.as_view(), name='data-spi-jc-import'), path('spi_jc/update//', SpiJCUpdateView.as_view(), name='data-spi-jc-update'), path('spi_jc//delete/', SpiJCDeleteView.as_view(), name='data-spi-jc-delete'), path('spi_jc//detail/', SpiJCDetailView.as_view(), name='data-spi-jc-detail'), path('spi_jc.json', views.spi_jc_json, name='spi-jc-json'), path('spi_jc/datadetail/', views.SpiJCDataDetailView, name='data-spi-jc-datadetail'), path('hydro/', HydroListView.as_view(), name='data-hydro-list'), path('hydro/add/', HydroCreateView.as_view(), name='data-hydro-add'), path('hydro/import/', HydroImportView.as_view(), name='data-hydro-import'), path('hydro/update//', HydroUpdateView.as_view(), name='data-hydro-update'), path('hydro.json', views.hydro_json, name='hydro-json'), path('hydro//delete/', HydroDeleteView.as_view(), name='data-hydro-delete'), path('hydro//detail/', HydroDetailView.as_view(), name='data-hydro-detail'), path('hydro/datadetail/', views.HydroDataDetailView, name='data-hydro-datadetail'), path('landuse/', LanduseListView.as_view(), name='data-landuse-list'), path('landuse/add/', LanduseCreateView.as_view(), name='data-landuse-add'), path('landuse.json', views.landuse_json, name='landuse-json'), path('landuse/import/', LanduseImportView.as_view(), name='data-landuse-import'), path('landuse/update//', LanduseUpdateView.as_view(), name='data-landuse-update'), path('landuse//delete/', LanduseDeleteView.as_view(), name='data-landuse-delete'), path('landuse//detail/', LanduseDetailView.as_view(), name='data-landuse-detail'), path('landuse/datadetail/', views.LanduseDataDetailView, name='data-landuse-datadetail'), path('finance/', FinanceListView.as_view(), name='data-finance-list'), path('finance/add/', FinanceCreateView.as_view(), name='data-finance-add'), path('finance/import/', FinanceImportView.as_view(), name='data-finance-import'), path('finance/update//', FinanceUpdateView.as_view(), name='data-finance-update'), path('finance//delete/', FinanceDeleteView.as_view(), name='data-finance-delete'), path('finance//detail/', FinanceDetailView.as_view(), name='data-finance-detail'), path('finance/', views.finance_chart, name='finance_chart'), path('revenue/', RevenueListView.as_view(), name='data-revenue-list'), path('revenue/add/', RevenueCreateView.as_view(), name='data-revenue-add'), path('revenue.json', views.revenue_json, name='revenue-json'), path('revenue/import/', RevenueImportView.as_view(), name='data-revenue-import'), path('revenue/update//', RevenueUpdateView.as_view(), name='data-revenue-update'), path('revenue//delete/', RevenueDeleteView.as_view(), name='data-revenue-delete'), path('revenue//detail/', RevenueDetailView.as_view(), name='data-revenue-detail'), path('revenue/datadetail/', views.RevenueDataDetailView, name='data-revenue-datadetail'), path('population/', PopulationListView.as_view(), name='data-population-list'), path('population/add/', PopulationCreateView.as_view(), name='data-population-add'), path('population.json', views.population_json, name='population-json'), path('population/import/', PopulationImportView.as_view(), name='data-population-import'), path('population/update//', PopulationUpdateView.as_view(), name='data-population-update'), path('population//delete/', PopulationDeleteView.as_view(), name='data-population-delete'), path('population//detail/', PopulationDetailView.as_view(), name='data-population-detail'), path('population/datadetail/', views.PopulationDataDetailView, name='data-population-datadetail'), path('gdp/', GDPListView.as_view(), name='data-gdp-list'), path('gdp/add/', GDPCreateView.as_view(), name='data-gdp-add'), path('gdp.json', views.gdp_json, name='gdp-json'), path('gdp/import/', GDPImportView.as_view(), name='data-gdp-import'), path('gdp/update//', GDPUpdateView.as_view(), name='data-gdp-update'), path('gdp//delete/', GDPDeleteView.as_view(), name='data-gdp-delete'), path('gdp//detail/', GDPDetailView.as_view(), name='data-gdp-detail'), path('gdp/datadetail/', views.GDPDataDetailView, name='data-gdp-datadetail'), path('hydro_chart/', views.hydro_chart, name='hydro_chart'), path('landuse_chart/', views.landuse_chart, name='landuse_chart'), path('administrative_division/',views.administrative_division,name = 'data-administrative-division'), path('lucc/',views.lucc,name = 'data-lucc'), path('crop_planting_distribution/',views.crop_planting_distribution,name = 'data-crop-planting-distribution') ]