summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/urls.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-01-15 13:00:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-15 16:28:33 +0000
commitebe7831ef65e78a9d100f29a63311518577fc838 (patch)
treee751113a7d5a526803c8a730437caebe3cdb322c /lib/toaster/toastergui/urls.py
parentdd1c509696b8ab5e593cc64637060a58e95fcd1f (diff)
downloadbitbake-ebe7831ef65e78a9d100f29a63311518577fc838.tar.gz
toastergui: switch projects/ view to ToasterTable
Remove the old projects page and replace with the new ToasterTable-based version. NB although the projects.html template is no longer required, it's been left in as there will be changes applied to it for the new theme. These changes will have to then be transferred from the projects.html template to projects-toastertable.html. Similarly, the code for the projects page in views.py has been retained. [YOCTO #8738] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/urls.py')
-rw-r--r--lib/toaster/toastergui/urls.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/toaster/toastergui/urls.py b/lib/toaster/toastergui/urls.py
index da97a3113..b5e9a0554 100644
--- a/lib/toaster/toastergui/urls.py
+++ b/lib/toaster/toastergui/urls.py
@@ -74,14 +74,9 @@ urlpatterns = patterns('toastergui.views',
# project URLs
url(r'^newproject/$', 'newproject', name='newproject'),
-
- # TODO remove when new toaster table is ready
- url(r'^projects/$', 'projects', name='all-projects'),
-
- # TODO move to /projects/ when new toaster table is ready
- url(r'^projects-new/$',
+ url(r'^projects/$',
tables.ProjectsTable.as_view(template_name="projects-toastertable.html"),
- name='all-projects-new'),
+ name='all-projects'),
url(r'^project/(?P<pid>\d+)/$', 'project', name='project'),
url(r'^project/(?P<pid>\d+)/configuration$', 'projectconf', name='projectconf'),