diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/bldcollector/urls.py | 1 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/urls.py | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastermain/urls.py | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcollector/urls.py b/bitbake/lib/toaster/bldcollector/urls.py index 144387b56a..64722f2cdc 100644 --- a/bitbake/lib/toaster/bldcollector/urls.py +++ b/bitbake/lib/toaster/bldcollector/urls.py | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | 19 | ||
20 | from django.conf.urls import patterns, include, url | 20 | from django.conf.urls import patterns, include, url |
21 | from django.views.generic import RedirectView | ||
22 | 21 | ||
23 | urlpatterns = patterns('bldcollector.views', | 22 | urlpatterns = patterns('bldcollector.views', |
24 | # landing point for pushing a bitbake_eventlog.json file to this toaster instace | 23 | # landing point for pushing a bitbake_eventlog.json file to this toaster instace |
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py index a1adbb7be0..2bf2d99ae7 100644 --- a/bitbake/lib/toaster/toastergui/urls.py +++ b/bitbake/lib/toaster/toastergui/urls.py | |||
@@ -168,5 +168,5 @@ urlpatterns = patterns('toastergui.views', | |||
168 | name='xhr_customrecipe'), | 168 | name='xhr_customrecipe'), |
169 | 169 | ||
170 | # default redirection | 170 | # default redirection |
171 | url(r'^$', RedirectView.as_view( url= 'landing')), | 171 | url(r'^$', RedirectView.as_view(url='landing', permanent=True)), |
172 | ) | 172 | ) |
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py index 5ce5a924d8..534679dc50 100644 --- a/bitbake/lib/toaster/toastermain/urls.py +++ b/bitbake/lib/toaster/toastermain/urls.py | |||
@@ -45,7 +45,7 @@ urlpatterns = patterns('', | |||
45 | url(r'^orm/eventfile$', 'bldcollector.views.eventfile'), | 45 | url(r'^orm/eventfile$', 'bldcollector.views.eventfile'), |
46 | 46 | ||
47 | # if no application is selected, we have the magic toastergui app here | 47 | # if no application is selected, we have the magic toastergui app here |
48 | url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/'))), | 48 | url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))), |
49 | ) | 49 | ) |
50 | 50 | ||
51 | import toastermain.settings | 51 | import toastermain.settings |