Skip to content
Browse files

Corrected slightly odd wording added in r16420.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b870bf6 commit fffe983da14424342fd4dd42de077d132711182f @jezdez jezdez committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 django/core/
6 django/core/
@@ -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:

0 comments on commit fffe983

Please sign in to comment.
Something went wrong with that request. Please try again.