urls.py 1.89 KB
from django.urls import path
from . import views

urlpatterns = [
    path('index', views.index, name='index'),
    path('users', views.users, name="users"),
    path('configuration', views.configUpdate, name='configuration'),
    path('status', views.change_globalMode, name='change_globalMode'),
    path('ack', views.change_ack, name='change_ack'),
    path('bypass', views.change_bypass, name='change_bypass'),
    path('routines', views.routines, name="routines"),
    path('weather', views.weather, name="weather"),
    path('weather/current', views.weather_current, name="weather_current"),
    path('site', views.site, name="site"),
    path('site/current', views.site_current, name="site_current"),
    path('proposal', views.proposal, name='proposal'),
    path('devices', views.devices, name="devices"),
    path('system', views.system, name="system"),
    path('system/logs', views.system_retrieve_logs,
        name="system_retrieve_logs"),
    path('schedule', views.schedule, name="schedule"),
    path('quotas', views.quotas, name="quotas"),
    path('observation_status/retrieve_env', views.retrieve_env, name='retrieve_env'),
    path('retrieve_env_navbar', views.retrieve_env_navbar, name='retrieve_env_navbar'),
    path('observation_status/send_command_to_telescope/submit_expert', views.submit_command_to_telescope_expert, name='submit_command_to_telescope_expert'),
    path('observation_status/send_command_to_telescope/submit', views.submit_command_to_telescope, name='submit_command_to_telescope'),
    path('observation_status/send_command_to_telescope', views.send_command_to_telescope, name='send_command_to_telescope'),
    path('users/<int:pk>', views.user_detail_view, name='user-detail'),
    path('users/<int:pk>/edit', views.user_detail_edit, name='user-edit'),
    path('user-status/<int:pk>', views.change_activate, name='change_activate'),
    path('states', views.operator_state, name='states'),
]