Skip to content

Commit 50eefdd

Browse files
committed
Ignore deprecation warning related to django-debug-toolbar and Django 3.2
1 parent 7189acd commit 50eefdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ DJANGO_SETTINGS_MODULE=example.settings.test
5858
filterwarnings =
5959
error::DeprecationWarning
6060
error::PendingDeprecationWarning
61+
# Django Debug Toolbar currently (2021-04-07) specifies default_app_config which is deprecated in Django 3.2:
62+
ignore:'debug_toolbar' defines default_app_config = 'debug_toolbar.apps.DebugToolbarConfig'. Django now detects this configuration automatically. You can remove default_app_config.:PendingDeprecationWarning
6163
testpaths =
6264
example
6365
tests

0 commit comments

Comments
 (0)