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

Replaces #301 autodiscover works with AppConfig #412

Merged

Conversation

vstoykov
Copy link
Collaborator

@vstoykov vstoykov commented Feb 22, 2017

Fix autodiscover to work for apps which are defined in INTALLED_APPS with AppConfig class instead of package path.

It uses from django.utils.module_loading.autodiscover_modules introduced in Django 1.7 alongside AppConfigs. If autodiscover_modules is not present (Django < 1.7) then use old logic.

This PR replaces #301

@vstoykov vstoykov merged commit 16ab0d2 into matthewwithanm:develop Feb 22, 2017
@vstoykov vstoykov deleted the feature/appconfigs-module-loading branch October 12, 2018 20:38
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.

1 participant