summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastermain
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-11-30 00:55:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 15:05:29 +0000
commit4422d911200bdb3e85d6c2e7ce287573a8007e87 (patch)
treed0124fe9fdd41a4747f65053461db41ab8a098e5 /bitbake/lib/toaster/toastermain
parent7f7154dda9c6c342b7e671a7916659238453d661 (diff)
downloadpoky-4422d911200bdb3e85d6c2e7ce287573a8007e87.tar.gz
bitbake: toaster: update Toaster for Django 1.11
Toaster needs to accomodate API changes in Django 1.11. [YOCTO #12192] (Bitbake rev: 1b34e3c0075b4bb8a4800fef3e12c3f39743973c) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastermain')
-rw-r--r--bitbake/lib/toaster/toastermain/settings.py2
-rw-r--r--bitbake/lib/toaster/toastermain/urls.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index 54ab31f302..13541d380f 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -186,7 +186,7 @@ TEMPLATES = [
186 'django.template.context_processors.tz', 186 'django.template.context_processors.tz',
187 'django.contrib.messages.context_processors.messages', 187 'django.contrib.messages.context_processors.messages',
188 # Custom 188 # Custom
189 'django.core.context_processors.request', 189 'django.template.context_processors.request',
190 'toastergui.views.managedcontextprocessor', 190 'toastergui.views.managedcontextprocessor',
191 191
192 ], 192 ],
diff --git a/bitbake/lib/toaster/toastermain/urls.py b/bitbake/lib/toaster/toastermain/urls.py
index 6750bdf3aa..e2fb0aebfd 100644
--- a/bitbake/lib/toaster/toastermain/urls.py
+++ b/bitbake/lib/toaster/toastermain/urls.py
@@ -19,7 +19,7 @@
19# with this program; if not, write to the Free Software Foundation, Inc., 19# with this program; if not, write to the Free Software Foundation, Inc.,
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 21
22from django.conf.urls import patterns, include, url 22from django.conf.urls import include, url
23from django.views.generic import RedirectView, TemplateView 23from django.views.generic import RedirectView, TemplateView
24from django.views.decorators.cache import never_cache 24from django.views.decorators.cache import never_cache
25import bldcollector.views 25import bldcollector.views