summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-11-04 15:14:06 +0000
committerMichael Wood <michael.g.wood@intel.com>2016-02-08 17:30:15 +0000
commit2101c854bb2d7ff1e3a4f00ad4d33d77859439ed (patch)
tree46f1e3654b9077ca2ba34ed681e1d1da32cabc36 /lib/toaster/toastergui/urls.py
parentf3322567378d6038a00da0fab6c5641a1a8e5409 (diff)
downloadbitbake-2101c854bb2d7ff1e3a4f00ad4d33d77859439ed.tar.gz
toaster: views Add view to download custom recipe
View to provide the custom recipe download feature. The recipe is generated on-demand to make sure that it is the most current version of the Custom recipe. Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com>
Diffstat (limited to 'lib/toaster/toastergui/urls.py')
-rw-r--r--lib/toaster/toastergui/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/urls.py b/lib/toaster/toastergui/urls.py
index c8c1c6a1f..2164c4c8f 100644
--- a/lib/toaster/toastergui/urls.py
+++ b/lib/toaster/toastergui/urls.py
@@ -140,6 +140,9 @@ urlpatterns = patterns('toastergui.views',
'customrecipe',
name="customrecipe"),
+ url(r'^project/(?P<pid>\d+)/customrecipe/(?P<recipe_id>\d+)/download$',
+ 'customrecipe_download',
+ name="customrecipedownload"),
# typeahead api end points