aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/bldcollector/urls.py
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2015-12-09 19:56:33 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-14 23:12:44 +0000
commit4aa09488bfe65cb365356b320cd9865643bb4fe5 (patch)
tree8d6215347e21cd969cbceb979bd871241350eb0d /lib/toaster/bldcollector/urls.py
parentc4804b84eaaef6a81027bae5cf8bfe63d949c293 (diff)
downloadbitbake-4aa09488bfe65cb365356b320cd9865643bb4fe5.tar.gz
toaster: Prevent deprecation warnings for RedirectView
The API for RedirectView is due to change in Django 1.9, which means that Toaster generates deprecation warnings. Set the "permanent" flag when constructing RedirectView instances to prevent this warning. [YOCTO #8364] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/bldcollector/urls.py')
-rw-r--r--lib/toaster/bldcollector/urls.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/toaster/bldcollector/urls.py b/lib/toaster/bldcollector/urls.py
index 144387b56..64722f2cd 100644
--- a/lib/toaster/bldcollector/urls.py
+++ b/lib/toaster/bldcollector/urls.py
@@ -18,7 +18,6 @@
from django.conf.urls import patterns, include, url
-from django.views.generic import RedirectView
urlpatterns = patterns('bldcollector.views',
# landing point for pushing a bitbake_eventlog.json file to this toaster instace