Skip to content

Commit 344329d

Browse files
Mogostfjsj
authored andcommitted
Fix RemovedInDjango41Warning
RemovedInDjango41Warning: 'webpack_loader' defines default_app_config = 'webpack_loader.apps.WebpackLoaderConfig'. Django now detects this configuration automatically. You can remove default_app_config.
1 parent ee5a5c6 commit 344329d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack_loader/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
__author__ = 'Owais Lone'
22
__version__ = '1.1.0'
33

4-
default_app_config = 'webpack_loader.apps.WebpackLoaderConfig'
4+
if django.VERSION < (3, 2): # pragma: no cover
5+
default_app_config = 'webpack_loader.apps.WebpackLoaderConfig'

0 commit comments

Comments
 (0)