From 70a078ee851b0408b68ddc13fbc7fbb658ce38df Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 8 Dec 2015 19:52:42 +0000 Subject: bitbake: toaster: tables SelectPackagesTable rename recipe_id to custrecipeid Rename the recipe_id to custrecipeid to avoid confusion about which type of object we're going to be accessing. This means that in the unit tests for tables we can pass a different kwargs for custom recipes vs normal recipes. (Bitbake rev: ae3301a1047b3efb4b340b50a10d5d585b7333da) Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/urls.py') diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index 969a29b228..4feeebc14a 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py @@ -129,11 +129,11 @@ urlpatterns = patterns('toastergui.views', name=tables.LayerMachinesTable.__name__.lower()), - url(r'^project/(?P\d+)/customrecipe/(?P\d+)/selectpackages/$', + url(r'^project/(?P\d+)/customrecipe/(?P\d+)/selectpackages/$', tables.SelectPackagesTable.as_view(), name="recipeselectpackages"), - url(r'^project/(?P\d+)/customrecipe/(?P\d+)$', + url(r'^project/(?P\d+)/customrecipe/(?P\d+)$', tables.SelectPackagesTable.as_view(template_name="customrecipe.html"), name="customrecipe"), -- cgit v1.2.3-54-g00ecf