Skip to content

Commit

Permalink
Fix RemovedInDjango41Warning
Browse files Browse the repository at this point in the history
RemovedInDjango41Warning: 'webpack_loader' defines default_app_config = 'webpack_loader.apps.WebpackLoaderConfig'. Django now detects this configuration automatically. You can remove default_app_config.
  • Loading branch information
Mogost authored and fjsj committed Aug 2, 2021
1 parent ee5a5c6 commit 344329d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack_loader/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__author__ = 'Owais Lone'
__version__ = '1.1.0'

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

0 comments on commit 344329d

Please sign in to comment.