summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-12-02 15:58:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:16:13 +0000
commit81ebce07788cd4c5f53cb6ad7b51ee3d6e52c881 (patch)
tree29e15f3b83c691893c44aad8e83aa05254dbc644 /bitbake/bin
parent5ab8545c4f43af1b30a230c290fbb00ebbe14ed4 (diff)
downloadpoky-81ebce07788cd4c5f53cb6ad7b51ee3d6e52c881.tar.gz
bitbake: toaster: update to Django 1.5
In order to remain up to date with the relevant technologies, Toaster is updated with this patch to Django 1.5. This also makes headways to allow usage of emerging Django-related technologies. Changes include the startup script Django version check, usage of TemplateView instead of deprecated simple function to do redirects, and update to the new form of the _url_ template tag. Support for Django 1.4.5 is now deprecated. [YOCTO #5558] (Bitbake rev: 2d37a1731a2b681bc976f3f391d65abb7745b6f9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/toaster4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index d4715fa67b..7e51014b7d 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -87,8 +87,8 @@ BBBASEDIR=`dirname ${BASH_SOURCE}`/..
87 87
88# Verify prerequisites 88# Verify prerequisites
89 89
90if ! echo "import django; print (1,4,5) == django.VERSION[0:3]" | python 2>/dev/null | grep True >/dev/null; then 90if ! echo "import django; print (1,5) == django.VERSION[0:2]" | python 2>/dev/null | grep True >/dev/null; then
91 echo -e "This program needs Django 1.4.5. Please install with\n\nsudo pip install django==1.4.5" 91 echo -e "This program needs Django 1.5. Please install with\n\nsudo pip install django==1.5"
92 return 2 92 return 2
93fi 93fi
94 94