← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1836671] Re: string_concat is removed from django as of 2.1

 

This bug was fixed in the package horizon -
3:16.0.0~b1~git2019061445.2cb84ade8-0ubuntu2

---------------
horizon (3:16.0.0~b1~git2019061445.2cb84ade8-0ubuntu2) eoan; urgency=medium

  * d/p/switch-from-django-string_compat-to-format_lazy.patch: Cherry-picked
    from https://review.opendev.org/#/c/671045 to enable use of horizon with
    python-django >= 2.1 (LP: #1836671).

 -- Corey Bryant <corey.bryant@xxxxxxxxxxxxx>  Tue, 16 Jul 2019 10:03:17
-0400

** Changed in: horizon (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1836671

Title:
  string_concat is removed from django as of 2.1

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in horizon package in Ubuntu:
  Fix Released

Bug description:
  I just tripped over this in Ubuntu development of Eoan (Train) where
  we are moving from python-django 1.11.22 to python-django 2.2.3.

  The traceback ends with:

  File "/usr/lib/python3/dist-packages/openstack_dashboard/dashboards/project/instances/tables.py", line 27, in <module>
    from django.utils.translation import string_concat
  ImportError: cannot import name 'string_concat' from 'django.utils.translation' (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)

  https://github.com/django/django/blob/master/docs/releases/2.1.txt
  states that "django.utils.translation.string_concat() is removed."

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1836671/+subscriptions


References