From 4dabdbe11ddc47a885c7f8cc6b3f26439d40d77c Mon Sep 17 00:00:00 2001 From: David Reyna Date: Wed, 25 Mar 2020 21:24:55 -0700 Subject: bitbake: toaster: migrate to Django-2.2 Toaster migration to Django-2.2. Django-1.x has been deprecated. [YOCTO #13207] (Bitbake rev: 9730f95686b2ac72cf1fa513c555f7c7787e2667) Signed-off-by: David Reyna Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/browser/test_sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/tests/browser/test_sample.py') diff --git a/bitbake/lib/toaster/tests/browser/test_sample.py b/bitbake/lib/toaster/tests/browser/test_sample.py index f4ad670a36..b0067c21cd 100644 --- a/bitbake/lib/toaster/tests/browser/test_sample.py +++ b/bitbake/lib/toaster/tests/browser/test_sample.py @@ -16,7 +16,7 @@ New test files should follow this structure, should be named "test_*.py", and should be in the same directory as this sample. """ -from django.core.urlresolvers import reverse +from django.urls import reverse from tests.browser.selenium_helpers import SeleniumTestCase class TestSample(SeleniumTestCase): -- cgit v1.2.3-54-g00ecf