Skip to content

Commit

Permalink
Try to exclude only based on module
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Jul 9, 2024
1 parent f7c9180 commit d38b2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,8 +1745,8 @@ def saml2_attrib_map_format(dict):
warnings.filterwarnings("ignore", message="PolymorphicModelBase._default_manager.*")

# TODO - remove these lines, they are here only for testing that following error is the only stopper for upgrade to py3.12
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
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.
warnings.filterwarnings("ignore", module="polymorphic") # monitor https://github.com/DefectDojo/django-DefectDojo/pull/10334, specially https://github.com/pypi/support/issues/4164
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.

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

0 comments on commit d38b2b0

Please sign in to comment.