Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected slightly odd wording added in r16420.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fffe983da14424342fd4dd42de077d132711182f 1 parent b870bf6
@jezdez jezdez authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 django/core/urlresolvers.py
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.