Skip to content

Commit f290717

Browse files
committed
Try to exclude only based on module
1 parent f7c9180 commit f290717

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
37e8360a40b123724572abbd758a5396231d717aaa29d85dad8c259973fe0a19
1+
d30ed22c2700ee87c7991c460b592dfb1b917425145e8a4d674c6a757f99ec15

dojo/settings/settings.dist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,8 +1745,8 @@ def saml2_attrib_map_format(dict):
17451745
warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*")
17461746

17471747
# TODO - remove these lines, they are here only for testing that following error is the only stopper for upgrade to py3.12
1748-
warnings.filterwarnings("ignore", module="polymorphic", message="pkg_resources is deprecated as an API") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164
1749-
warnings.filterwarnings("ignore", module="github", message=r"datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\. Use timezone-aware objects to represent datetimes in UTC: datetime\.datetime\.now\(datetime\.UTC\)\.") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location.
1748+
warnings.filterwarnings("ignore", module="polymorphic") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164
1749+
warnings.filterwarnings("ignore", module="github") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/9948 but it might pop-up somewhere else again. pygithub is just first known location.
17501750

17511751
# This setting is here to override default renderer of forms (use div-based, instred of table-based).
17521752
# It has effect only on templates that use "{{ form }}" in the body. Only "Delete forms" now.

0 commit comments

Comments
 (0)