summaryrefslogtreecommitdiff
path: root/myadmin/urls.py
diff options
context:
space:
mode:
authordk-152017-05-22 16:28:20 +0530
committerdk-152017-05-22 16:29:48 +0530
commit187752f92a1aaed0408a20e8e40b9d1b82b69847 (patch)
tree1d8e283a2776bb8cebc37cd9297f717f6f9cb066 /myadmin/urls.py
parentd2db202479579f85b0947836d412902bf3e6b0ee (diff)
downloadSBHS-2018-Rpi-187752f92a1aaed0408a20e8e40b9d1b82b69847.tar.gz
SBHS-2018-Rpi-187752f92a1aaed0408a20e8e40b9d1b82b69847.tar.bz2
SBHS-2018-Rpi-187752f92a1aaed0408a20e8e40b9d1b82b69847.zip
Write views for admin/testing
Diffstat (limited to 'myadmin/urls.py')
-rw-r--r--myadmin/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/myadmin/urls.py b/myadmin/urls.py
index 39a24b2..c1831e5 100644
--- a/myadmin/urls.py
+++ b/myadmin/urls.py
@@ -8,6 +8,10 @@ urlpatterns = [
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'),
] \ No newline at end of file