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

When I run pytest i get a warning about default_app_config #153

Closed
simkimsia opened this issue Sep 3, 2021 · 1 comment · May be fixed by simkimsia/django-pattern-library#1
Closed

When I run pytest i get a warning about default_app_config #153

simkimsia opened this issue Sep 3, 2021 · 1 comment · May be fixed by simkimsia/django-pattern-library#1
Labels
bug Something isn't working django Related to Django templates capabilities

Comments

@simkimsia
Copy link
Contributor

Found a bug? Please fill out the sections below. 👍

Issue Summary

When i run pytest, i get a warning

RemovedInDjango41Warning: 'pattern_library' defines default_app_config = 'pattern_library.apps.PatternLibraryAppConfig'. Django now detects this configuration automatically. You can remove default_app_config.
    app_config = AppConfig.create(entry)

Steps to Reproduce

Install pattern-library.
Run pytest

Technical details

This is due to django 3.2

also see this PR for allauth that has a similar issue. pennersr/django-allauth#2829

@thibaudcolas
Copy link
Member

Fixed in #160.

@thibaudcolas thibaudcolas added bug Something isn't working django Related to Django templates capabilities labels Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working django Related to Django templates capabilities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants