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

Fix default_app_config deprecation #415

Merged
merged 1 commit into from Jun 22, 2021

Conversation

nikolaik
Copy link
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
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
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
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.

None yet

2 participants