mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 00:37:54 +00:00
docs: add REMOVE-AFTER-V18 comment to Django 5 import try-except
also fixup changelog format
This commit is contained in:
parent
6e5f75b244
commit
64d82c38c8
@ -1,12 +1 @@
|
||||
<!--
|
||||
Create a changelog entry for every new user-facing change. Please respect the following instructions:
|
||||
- Indicate breaking changes by prepending an explosion 💥 character.
|
||||
- Prefix your changes with either [Bugfix], [Improvement], [Feature], [Security], [Deprecation].
|
||||
- You may optionally append "(by @<author>)" at the end of the line, where "<author>" is either one (just one)
|
||||
of your GitHub username, real name or affiliated organization. These affiliations will be displayed in
|
||||
the release notes for every release.
|
||||
-->
|
||||
|
||||
<!-- - 💥[Feature] Foobarize the blorginator. This breaks plugins by renaming the `FOO_DO` filter to `BAR_DO`. (by @regisb) -->
|
||||
<!-- - [Improvement] This is a non-breaking change. Life is good. (by @billgates) -->
|
||||
[Bugfix] Wrap Django5 warning imports in try-except block to avoid failures in django3 that's still in use in edx-platform's master branch.
|
||||
- [Bugfix] Wrap Django5 warning imports in try-except block to avoid failures in django3 that's still in use in edx-platform's master branch (by @mariajgrimaldi).
|
||||
|
@ -155,6 +155,10 @@ try:
|
||||
warnings.filterwarnings("ignore", category=RemovedInDjango50Warning)
|
||||
warnings.filterwarnings("ignore", category=RemovedInDjango51Warning)
|
||||
except ImportError:
|
||||
# REMOVE-AFTER-V18:
|
||||
# In Quince, edx-platform uses Django 5. But on master, edx-platform still uses Django 3.
|
||||
# So, Tutor v17 needs to silence these warnings, whereas Tutor v17-nightly fails to import them.
|
||||
# Once edx-platform master is upgraded to Django 5, the try-except wrapper can be removed.
|
||||
pass
|
||||
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="wiki.plugins.links.wiki_plugin")
|
||||
|
Loading…
Reference in New Issue
Block a user