[bitbake-devel] [PATCH 23/23] toaster: Add url pattern for backward compatibility
Alex DAMIAN
alexandru.damian at intel.com
Thu Jun 25 10:34:00 UTC 2015
From: Michael Wood <michael.g.wood at intel.com>
This adds an url to match the old orm application.
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
lib/toaster/toastermain/urls.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/toaster/toastermain/urls.py b/lib/toaster/toastermain/urls.py
index 26ad3a2..521588a 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/'))),
)
--
1.9.1
More information about the bitbake-devel
mailing list