summaryrefslogtreecommitdiff
path: root/myadmin/urls.py
blob: c1831e538269be4b398534b56d64a9434c3de187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from django.conf.urls import url

from . import views

urlpatterns = [
	url(r'^admin/?$', views.index, name='admin_index'),
    url(r'^admin/bookings/?$', views.booking_index, name='admin_bookings'),
    url(r'^admin/webcam/?$', views.webcam_index, name='admin_webcam'),
    url(r'^admin/profile/([0-9]+)/?$', views.profile, name='admin_profile'),
    url(r'^admin/testing/?$', views.testing, name='admin_testing'),
    url(r'^admin/resetdevice/?$', views.reset_device, name='admin_reset_device'),
    url(r'^admin/setdevice/?$', views.set_device_params, name='admin_set_device'),
    url(r'^admin/gettemp/?$', views.get_device_temp, name='admin_get_temp'),

    
    url(r'^admin/toggle_allotment_mode/?$', views.toggle_allotment_mode, name='admin_toggle_allotment_mode'),
]