AccordBox / python-webpack-boilerplate

Django Webpack boilerplate & Flask Webpack boilerplate
https://python-webpack-boilerplate.rtfd.io
MIT License
169 stars 20 forks source link

Fix RemovedInDjango41Warning for app config #21

Closed adamchainz closed 2 years ago

adamchainz commented 2 years ago

Fix this warning:

  /.../django/apps/registry.py:91: RemovedInDjango41Warning: 'webpack_boilerplate' defines default_app_config = 'webpack_boilerplate.apps.WebpackBoilerplateConfig'. Django now detects this configuration automatically. You can remove default_app_config.
    app_config = AppConfig.create(entry)

As per: https://docs.djangoproject.com/en/3.2/releases/3.2/#automatic-appconfig-discovery

michael-yin commented 2 years ago

@adamchainz

Thanks for your PR, will merge it soon.