aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-06-19 16:10:09 +0100
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-06-25 11:28:59 +0100
commit0a8e740e18333da981b24a76db4c891845e5df78 (patch)
tree1796a9d6c75494d096e48644482b2ee294211689
parent8ca10764ffd6cfec12cbfeabf240d81213a07845 (diff)
downloadbitbake-0a8e740e18333da981b24a76db4c891845e5df78.tar.gz
toaster: Add url pattern for backward compatibility
This adds an url to match the old orm application. Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--lib/toaster/toastermain/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/toaster/toastermain/urls.py b/lib/toaster/toastermain/urls.py
index 26ad3a262..521588a6a 100644
--- a/lib/toaster/toastermain/urls.py
+++ b/lib/toaster/toastermain/urls.py
@@ -40,6 +40,10 @@ urlpatterns = patterns('',
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
+ # This is here to maintain backward compatibility and will be deprecated
+ # in the future.
+ url(r'^orm/eventfile$', 'bldcollector.views.eventfile'),
+
# if no application is selected, we have the magic toastergui app here
url(r'^$', never_cache(RedirectView.as_view(url='/toastergui/'))),
)