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.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py
index 1f8599edc3..bb325596bb 100644
--- a/bitbake/lib/toaster/toastermain/urls.py
+++ b/bitbake/lib/toaster/toastermain/urls.py
@@ -23,6 +23,8 @@ from django.conf.urls import patterns, include, url
23from django.views.generic import RedirectView 23from django.views.generic import RedirectView
24from django.views.decorators.cache import never_cache 24from django.views.decorators.cache import never_cache
25 25
26import bldcollector.views
27
26import logging 28import logging
27 29
28logger = logging.getLogger("toaster") 30logger = logging.getLogger("toaster")
@@ -31,7 +33,7 @@ logger = logging.getLogger("toaster")
31from django.contrib import admin 33from django.contrib import admin
32admin.autodiscover() 34admin.autodiscover()
33 35
34urlpatterns = patterns('', 36urlpatterns = [
35 37
36 # Examples: 38 # Examples:
37 # url(r'^toaster/', include('toaster.foo.urls')), 39 # url(r'^toaster/', include('toaster.foo.urls')),
@@ -42,11 +44,11 @@ urlpatterns = patterns('',
42 44
43 # This is here to maintain backward compatibility and will be deprecated 45 # This is here to maintain backward compatibility and will be deprecated
44 # in the future. 46 # in the future.
45 url(r'^orm/eventfile$', 'bldcollector.views.eventfile'), 47 url(r'^orm/eventfile$', bldcollector.views.eventfile),
46 48
47 # if no application is selected, we have the magic toastergui app here 49 # if no application is selected, we have the magic toastergui app here
48 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))), 50 url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/', permanent=True))),
49) 51]
50 52
51import toastermain.settings 53import toastermain.settings
52 54