mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
feat: improve edx-platform logging by silencing a few warnings
These warnings were occurring when launching a django shell ("shell" command) or a development server ("runserver").
This commit is contained in:
parent
586045143f
commit
6257c1c7ac
@ -1,2 +1,3 @@
|
||||
- [Feature] Make it possible to import the demo course from a different git repository or version. (by @regisb)
|
||||
- [Feature] Add a convenient `do print-edx-platform-setting` command to print the value of an edx-platform setting. (by @regisb)
|
||||
- [Improvement] Improve edx-platform logging by silencing a couple deprecation warnings. (by @regisb)
|
||||
|
@ -143,6 +143,11 @@ warnings.filterwarnings("ignore", category=RemovedInDjango40Warning)
|
||||
warnings.filterwarnings("ignore", category=RemovedInDjango41Warning)
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="lms.djangoapps.course_wiki.plugins.markdownedx.wiki_plugin")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="wiki.plugins.links.wiki_plugin")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="boto.plugin")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="botocore.vendored.requests.packages.urllib3._collections")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="storages.backends.s3boto")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="openedx.core.types.admin")
|
||||
SILENCED_SYSTEM_CHECKS = ["2_0.W001", "fields.W903"]
|
||||
|
||||
# Email
|
||||
EMAIL_USE_SSL = {{ SMTP_USE_SSL }}
|
||||
|
Loading…
Reference in New Issue
Block a user