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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 49a7769cdb..8301f6ce66 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -1893,7 +1893,7 @@ if toastermain.settings.MANAGED:
1893 context = { 1893 context = {
1894 'email': request.user.email if request.user.is_authenticated() else '', 1894 'email': request.user.email if request.user.is_authenticated() else '',
1895 'username': request.user.username if request.user.is_authenticated() else '', 1895 'username': request.user.username if request.user.is_authenticated() else '',
1896 'releases': Release.objects.order_by("id"), 1896 'releases': Release.objects.order_by("description"),
1897 } 1897 }
1898 1898
1899 try: 1899 try:
@@ -2016,7 +2016,7 @@ if toastermain.settings.MANAGED:
2016 prj.projectlayer_set.all().order_by("id")), 2016 prj.projectlayer_set.all().order_by("id")),
2017 "targets" : map(lambda x: {"target" : x.target, "task" : x.task, "pk": x.pk}, prj.projecttarget_set.all()), 2017 "targets" : map(lambda x: {"target" : x.target, "task" : x.task, "pk": x.pk}, prj.projecttarget_set.all()),
2018 "freqtargets": freqtargets, 2018 "freqtargets": freqtargets,
2019 "releases": map(lambda x: {"id": x.pk, "name": x.name}, Release.objects.all()), 2019 "releases": map(lambda x: {"id": x.pk, "name": x.name, "description":x.description}, Release.objects.all()),
2020 } 2020 }
2021 try: 2021 try:
2022 context["machine"] = {"name": prj.projectvariable_set.get(name="MACHINE").value} 2022 context["machine"] = {"name": prj.projectvariable_set.get(name="MACHINE").value}