diff options
author | dk-15 | 2017-05-22 16:28:20 +0530 |
---|---|---|
committer | dk-15 | 2017-05-22 16:29:48 +0530 |
commit | 187752f92a1aaed0408a20e8e40b9d1b82b69847 (patch) | |
tree | 1d8e283a2776bb8cebc37cd9297f717f6f9cb066 /myadmin/urls.py | |
parent | d2db202479579f85b0947836d412902bf3e6b0ee (diff) | |
download | SBHS-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.py | 4 |
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 |