drought/disaster/urls.py

17 lines
802 B
Python

from django.urls import path
from djgeojson.views import GeoJSONLayerView
from graphic.models import Address, Station, Grid
from . import views
urlpatterns = [
path('', views.index, name='disaster-index'),
path('hail', views.hail, name='disaster-hail'),
path('hailstones/', views.hailstones, name='disater-hailstones'),
path('calc_hailstones_impact/', views.calc_hailstones_impact, name='disater-calc_hailstones_impact'),
path('prevent_hailstones/', views.prevent_hailstones, name='disater-prevent_hailstones'),
path('calc_prevent_impact/', views.calc_prevent_impact, name='disater-calc_prevent_impact'),
path('get_spi_region/', views.get_spi_region, name='disater-get_spi_region'),
path('calc_spi_diaster/', views.calc_spi_diaster, name='disater-calc_spi_diaster')
]