This fixes issues found in testing with Django 4 in mantic.
ugettext_lazy was deprecated in Django 3.0 and removed in
Django 4.0. Switch to gettext_lazy.
Switch to PyMemcacheCache backend as the Django MemcachedCache
backend was removed in Django 4.1 in favor of the PyMemcacheCache
or PyLibMCCache backend. This depends on a new openstack-dashboard
package version that will be provided in an SRU for bug #2039225.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- openstack- dashboard/ +/901561 /opendev. org/openstack/ charm-openstack -dashboard/ commit/ dec3e0158f0fc7c 484e3fc2ffd8fa3 1c166f9b58
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit dec3e0158f0fc7c 484e3fc2ffd8fa3 1c166f9b58
Author: Corey Bryant <email address hidden>
Date: Fri Oct 13 14:57:46 2023 -0400
Add local_settings.py template for Bobcat
This fixes issues found in testing with Django 4 in mantic.
ugettext_lazy was deprecated in Django 3.0 and removed in
Django 4.0. Switch to gettext_lazy.
Switch to PyMemcacheCache backend as the Django MemcachedCache
backend was removed in Django 4.1 in favor of the PyMemcacheCache
or PyLibMCCache backend. This depends on a new openstack-dashboard
package version that will be provided in an SRU for bug #2039225.
Closes-Bug: #2039226 268e4c6fa80c9f9 c65a56a26ea 3ab4e7777cec8de b15c25ee6f)
Closes-Bug: #2039225
Change-Id: Ia8e4f6f5f50d58
(cherry picked from commit 16c5a026419e5c2