Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemovedInDjango41Warning #305

Closed
shapiromatron opened this issue Nov 24, 2021 · 1 comment
Closed

RemovedInDjango41Warning #305

shapiromatron opened this issue Nov 24, 2021 · 1 comment

Comments

@shapiromatron
Copy link
Contributor

shapiromatron commented Nov 24, 2021

Getting a warning in pytest errors:

venv/lib/python3.9/site-packages/django/apps/registry.py:91
        /venv/lib/python3.9/site-packages/django/apps/registry.py:91: RemovedInDjango41Warning: 
        'webpack_loader' defines default_app_config = 'webpack_loader.apps.WebpackLoaderConfig'. 
        Django now detects this configuration automatically. You can remove default_app_config.
    app_config = AppConfig.create(entry)

I can attempt to fix and submit a PR if you'd like me to.

Thanks! Great package!

@shapiromatron shapiromatron changed the title RemovedInDjango40Warning RemovedInDjango41Warning Nov 24, 2021
@shapiromatron
Copy link
Contributor Author

My bad; fixed after I updated versions. I can see it's fixed in 1.4.1:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant