Skip to content

Fix default_app_config deprecation#415

Merged
Andrew-Chen-Wang merged 1 commit intojazzband:masterfrom
nikolaik:patch-1
Jun 22, 2021
Merged

Fix default_app_config deprecation#415
Andrew-Chen-Wang merged 1 commit intojazzband:masterfrom
nikolaik:patch-1

Conversation

@nikolaik
Copy link
Copy Markdown
Contributor

@nikolaik nikolaik commented Jun 1, 2021

Django 3.2 automatically detects AppConfig and therefore this setting is no longer required.

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

Copy link
Copy Markdown
Member

@Andrew-Chen-Wang Andrew-Chen-Wang left a comment

Choose a reason for hiding this comment

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

Thanks @nikolaik !

Quick change: you don't need to import all of django; just import the version. Also please write a test case to make sure that variable isn't there. nvm just change up the variable import

Django 3.2 automatically detects AppConfig and therefore this setting is no longer required.

https://docs.djangoproject.com/en/dev/releases/3.2/#automatic-appconfig-discovery
@nikolaik
Copy link
Copy Markdown
Contributor Author

nikolaik commented Jun 7, 2021

Quick change: you don't need to import all of django; just import the version

Updated! ✨

@Andrew-Chen-Wang Andrew-Chen-Wang merged commit a434d5b into jazzband:master Jun 22, 2021
@Andrew-Chen-Wang
Copy link
Copy Markdown
Member

thank you!

@nikolaik nikolaik deleted the patch-1 branch January 24, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants