urls.py
645 Bytes
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^start_simulation', views.start_simulation, name="start_simulation"),
url(r'^change_obs_strategy/(?P<alert_id>\d+)$', views.change_obs_strategy, name="change_obs_strategy"),
url(r'^change_obs_strategy_validate/(?P<alert_id>\d+)$', views.change_obs_strategy_validate, name="change_obs_strategy_validate"),
url(r'^alerts$', views.alerts_list, name='alerts_list'),
url(r'^change_default_strategy/(?P<strat_id>\d+)$', views.change_default_strategy, name='change_default_strategy'),
]