diff options
author | David Reyna <David.Reyna@windriver.com> | 2017-06-27 13:44:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-27 22:17:53 +0100 |
commit | e4c7a94fac7a53fc146387a57e5a09b9ec3caca0 (patch) | |
tree | cffd5606db9cc2e155498348b908ce01099356f9 /toaster-requirements.txt | |
parent | 22cc318be1aff16f1b653ff0650fe71d0e9f60bb (diff) | |
download | bitbake-contrib-e4c7a94fac7a53fc146387a57e5a09b9ec3caca0.tar.gz |
toaster: address Django-1.10 API deprecations
There are four main API deprecations in Django-1.10:
(a) String view arguments to url() must be replaced by
the explicit class reference
(b) New TEMPLATES stucture in settings.py consolidates
TEMPLATE_DIRS, TEMPLATE_CONTEXT_PROCESSORS,
TEMPLATE_LOADERS, TEMPLATE_STRING_IF_INVALID, and
TEMPLATE_DEBUG
(c) patterns() wrapper in url() is removed, with
urlpatterns now a simple list
(d) NoArgsCommand in commands() must be replace by
BaseCommand, and handle_noargs() changed to
handle()
Also, the Django version checker must be updated to accept
two digit sub-version numbers (e.g. "1.8" < "1.10")
[YOCTO #11684]
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'toaster-requirements.txt')
-rw-r--r-- | toaster-requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toaster-requirements.txt b/toaster-requirements.txt index e61c8e2aa..3f47650b4 100644 --- a/toaster-requirements.txt +++ b/toaster-requirements.txt @@ -1,3 +1,3 @@ -Django>1.8,<1.9 +Django>1.8,<1.9.9 beautifulsoup4>=4.4.0 pytz |