urls.py
684 Bytes
from django.urls import include, path # For django versions from 2.0 and up
from . import views
urlpatterns = [
path('start_simulation', views.start_simulation, name="start_simulation"),
path('change_obs_strategy/(?P<alert_id>\d+)$', views.change_obs_strategy, name="change_obs_strategy"),
path('change_obs_strategy_validate/(?P<alert_id>\d+)$', views.change_obs_strategy_validate, name="change_obs_strategy_validate"),
path('alerts$', views.alerts_list, name='alerts_list'),
path('change_default_strategy/(?P<strat_id>\d+)$', views.change_default_strategy, name='change_default_strategy'),
]