Skip to content

Fixed default_app_config deprecation#721

Merged
ad-m merged 1 commit intodjango-guardian:develfrom
smithdc1:app_config
Oct 19, 2020
Merged

Fixed default_app_config deprecation#721
ad-m merged 1 commit intodjango-guardian:develfrom
smithdc1:app_config

Conversation

@smithdc1
Copy link
Copy Markdown
Contributor

Django 3.2 automatically detects AppConfig and therefore this setting is no longer required. Here is the warning in the CI and the release notes.

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

https://travis-ci.org/github/django-guardian/django-guardian/jobs/735548344#L427

Copy link
Copy Markdown
Contributor

@michael-k michael-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ad-m ad-m merged commit 5577d09 into django-guardian:devel Oct 19, 2020
@smithdc1 smithdc1 deleted the app_config branch October 19, 2020 13:22
@adamchainz
Copy link
Copy Markdown

Can we see a release? This warning is now breaking the django-rest-framework CI since elevate warnings to errors there (experimentally, to see if we can avoid passing warnings on to users).

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

Successfully merging this pull request may close these issues.

4 participants