From d93bc4cf4843afa37d08d2fc4a229016047563c1 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Fri, 19 Jun 2015 16:10:09 +0100 Subject: [PATCH] bitbake: toaster: Add url pattern for backward compatibility This adds an url to match the old orm application. (Bitbake rev: 0a8e740e18333da981b24a76db4c891845e5df78) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastermain/urls.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py index 26ad3a2620..521588a6ad 100644 --- a/bitbake/lib/toaster/toastermain/urls.py +++ b/bitbake/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/'))), )