from django.urls import path from policy import views from policy.views import DroughtSpiListView urlpatterns = [ path('drought/spi/', DroughtSpiListView.as_view(), name='policy-drought-spi-list'), path('drought/spi/chart/', views.drought_spi_chart, name='policy-drought-spi-chart'), path('drought/spi.json', views.drought_spi_json, name='policy-drought-spi-json'), path('timeline4/', views.timeline4, name='policy-timeline4'), path('timeline5/', views.timeline5, name='policy-timeline5'), ]