Skip to content

Commit 3252159

Browse files
authored
Django 4 no longer need this
Django now detects this configuration automatically and 4,1 will remove it
1 parent 4ab09e4 commit 3252159

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template_profiler_panel/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
default_app_config = "template_profiler_panel.apps.TemplateProfilerPanelAppConfig"
1+
if django.VERSION < (4, 0):
2+
default_app_config = "template_profiler_panel.apps.TemplateProfilerPanelAppConfig"

0 commit comments

Comments
 (0)