From ce1bc2c94b30a42a2c7c0d58e6cb6d8875cadf60 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 26 Dec 2013 18:40:28 +0100 Subject: Made the AppConfig API marginally more consistent. Eliminated the app_ prefix that was more confusing than useful. --- django/utils/module_loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils/module_loading.py') diff --git a/django/utils/module_loading.py b/django/utils/module_loading.py index 1ed7d93e31..bd012cd55b 100644 --- a/django/utils/module_loading.py +++ b/django/utils/module_loading.py @@ -80,7 +80,7 @@ def autodiscover_modules(*args, **kwargs): # Decide whether to bubble up this error. If the app just # doesn't have an admin module, we can ignore the error # attempting to import it, otherwise we want it to bubble up. - if module_has_submodule(app_config.app_module, module_to_search): + if module_has_submodule(app_config.module, module_to_search): raise -- cgit v1.3