diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-12-09 16:52:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-12 20:44:47 +0000 |
commit | 0c8e41d2217fd568a84e857d1be230fcfd4bb5c7 (patch) | |
tree | 0e8d6441142220ed1487c7fd9e414bd40b711f3e /lib/toaster/toastergui/urls.py | |
parent | 78dc7b9f1801e7f4c266ba1369e5706f177ddaa1 (diff) | |
download | bitbake-0c8e41d2217fd568a84e857d1be230fcfd4bb5c7.tar.gz |
toaster: api Add layer Add api
Add layer adding REST api and remove old views method.
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/urls.py')
-rw-r--r-- | lib/toaster/toastergui/urls.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/urls.py b/lib/toaster/toastergui/urls.py index ece9ac169..29f0d96ba 100644 --- a/lib/toaster/toastergui/urls.py +++ b/lib/toaster/toastergui/urls.py @@ -190,12 +190,14 @@ urlpatterns = patterns('toastergui.views', url(r'^xhr_configvaredit/(?P<pid>\d+)$', 'xhr_configvaredit', name='xhr_configvaredit'), - url(r'^xhr_importlayer/$', 'xhr_importlayer', name='xhr_importlayer'), - url(r'^xhr_layer/(?P<pid>\d+)/(?P<layerversion_id>\d+)$', api.XhrLayer.as_view(), name='xhr_layer'), + url(r'^xhr_layer/(?P<pid>\d+)$', + api.XhrLayer.as_view(), + name='xhr_layer'), + # JS Unit tests url(r'^js-unit-tests/$', 'jsunittests', name='js-unit-tests'), |