mirror of
https://git.yoctoproject.org/poky
synced 2026-09-18 06:49:33 +02:00
bitbake: toaster: Clean up and convert to rest api project edit and get calls
Convert the project xhr calls into proper rest api and port the client side calls to use the new API. Fix all the pyflakes identified issues and clean up unused fields. Also remove the api and client side code for changing release on the fly as this is no longer supported. [YOCTO #9519] (Bitbake rev: 8b01767d6e787cdb09789116ebf57dfb70f521bc) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0b17e6d32c
commit
4d0bc8d521
@@ -44,6 +44,7 @@
|
||||
{% if project.id %}
|
||||
projectId : {{project.id}},
|
||||
projectPageUrl : {% url 'project' project.id as purl %}{{purl|json}},
|
||||
xhrProjectUrl : {% url 'xhr_project' project.id as pxurl %}{{pxurl|json}},
|
||||
projectName : {{project.name|json}},
|
||||
recipesTypeAheadUrl: {% url 'xhr_recipestypeahead' project.id as paturl%}{{paturl|json}},
|
||||
layersTypeAheadUrl: {% url 'xhr_layerstypeahead' project.id as paturl%}{{paturl|json}},
|
||||
|
||||
Reference in New Issue
Block a user