summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 392e56da2a..b7eddf411d 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2790,6 +2790,15 @@ if True:
2790 2790
2791 return(vars_managed,sorted(vars_fstypes),vars_blacklist) 2791 return(vars_managed,sorted(vars_fstypes),vars_blacklist)
2792 2792
2793 def customrecipe(request, pid, recipe_id):
2794 project = Project.objects.get(pk=pid)
2795 context = {'project' : project,
2796 'projectlayers': [],
2797 'recipe' : CustomImageRecipe.objects.get(pk=recipe_id)
2798 }
2799
2800 return render(request, "customrecipe.html", context)
2801
2793 @_template_renderer("projectconf.html") 2802 @_template_renderer("projectconf.html")
2794 def projectconf(request, pid): 2803 def projectconf(request, pid):
2795 2804