urls.py 671 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/<int:alert_id>', views.change_obs_strategy, name="change_obs_strategy"),
               path('change_obs_strategy_validate/<int:alert_id>', views.change_obs_strategy_validate, name="change_obs_strategy_validate"),
               path('alerts', views.alerts_list, name='alerts_list'),
               path('change_default_strategy/<int:strat_id>', views.change_default_strategy, name='change_default_strategy'),
              ]