summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastermain/urls.py')
-rw-r--r--bitbake/lib/toaster/toastermain/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py
index bb325596bb..6750bdf3aa 100644
--- a/bitbake/lib/toaster/toastermain/urls.py
+++ b/bitbake/lib/toaster/toastermain/urls.py
@@ -20,9 +20,8 @@
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 21
22from django.conf.urls import patterns, include, url 22from django.conf.urls import patterns, include, url
23from django.views.generic import RedirectView 23from django.views.generic import RedirectView, TemplateView
24from django.views.decorators.cache import never_cache 24from django.views.decorators.cache import never_cache
25
26import bldcollector.views 25import bldcollector.views
27 26
28import logging 27import logging
@@ -46,6 +45,8 @@ urlpatterns = [
46 # in the future. 45 # in the future.
47 url(r'^orm/eventfile$', bldcollector.views.eventfile), 46 url(r'^orm/eventfile$', bldcollector.views.eventfile),
48 47
48 url(r'^health$', TemplateView.as_view(template_name="health.html"), name='Toaster Health'),
49
49 # if no application is selected, we have the magic toastergui app here 50 # if no application is selected, we have the magic toastergui app here
50 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))), 51 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))),
51] 52]