summaryrefslogtreecommitdiff
path: root/django/utils/module_loading.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-26 18:40:28 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-26 19:25:09 +0100
commitce1bc2c94b30a42a2c7c0d58e6cb6d8875cadf60 (patch)
tree7537b1332a03f14f9e4a359f35bf9605f42a4a2c /django/utils/module_loading.py
parentfec5330c7937efe30294d060a57af6400ce073a9 (diff)
downloaddjango-ce1bc2c94b30a42a2c7c0d58e6cb6d8875cadf60.tar.gz
Made the AppConfig API marginally more consistent.
Eliminated the app_ prefix that was more confusing than useful.
Diffstat (limited to 'django/utils/module_loading.py')
-rw-r--r--django/utils/module_loading.py2
1 files changed, 1 insertions, 1 deletions
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