diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-17 07:39:03 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-17 07:39:03 +0000 |
| commit | fffe983da14424342fd4dd42de077d132711182f (patch) | |
| tree | 83adde4dc512c7191e92eba70f43d6f02d22a195 | |
| parent | b870bf6b9a4ac44331e97bce8b95cc44447580fa (diff) | |
Corrected slightly odd wording added in r16420.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/urlresolvers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index 72f4f20e4b..04614fbf65 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -99,11 +99,11 @@ def get_callable(lookup_view, can_fail=False): "Could not import %s. View does not exist in module %s." % (lookup_view, mod_name)) except ImportError: - ownermod, submod = get_mod_func(mod_name) + parentmod, submod = get_mod_func(mod_name) if (not can_fail and submod != '' and - not module_has_submodule(import_module(ownermod), submod)): + not module_has_submodule(import_module(parentmod), submod)): raise ViewDoesNotExist( - "Could not import %s. Owning module %s does not exist." + "Could not import %s. Parent module %s does not exist." % (lookup_view, mod_name)) if not can_fail: raise |
