Handle MemcachedCache -> PyMemcacheCache in apply_django_settings.
Review Request #12475 — Created July 17, 2022 and submitted
We made some changes inside Review Board to upgrade the CACHES setting
during upgrade, but that neglected to handle the case where the cache
was set in siteconfig. We already had some migration logic for previous
renames, so I've just extended that to also include this new rename.
- Set up a reproduction case where we had outdated CACHES configuration
in siteconfig. Saw that I could run everything and that the
configuration that got applied todjango.conf.settings
used
PyMemcacheCache
. Verified that the configuration UI inside Review
Board's admin showed the correct setting as well (was previously
showing as "custom" when un-migrated). - Ran unit tests.
Summary | ID |
---|---|
52a118ec23169a8b9730e4d848b7374a190f7c76 |
Description | From | Last Updated |
---|---|---|
After fixing the other issues, should be good to go. |
maubin | |
Can you also update the release notes? (I'm going to have to re-release the beta — it's not announced, but … |
chipx86 | |
line too long (80 > 79 characters) Column: 80 Error code: E501 |
reviewbot | |
line too long (80 > 79 characters) Column: 80 Error code: E501 |
reviewbot | |
line too long (80 > 79 characters) Column: 80 Error code: E501 |
reviewbot | |
line too long (80 > 79 characters) Column: 80 Error code: E501 |
reviewbot | |
continuation line unaligned for hanging indent Column: 22 Error code: E131 |
reviewbot |