Fixed grammar error in error message from [1355]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b58c820558
commit
1663623fad
|
@ -20,7 +20,7 @@ class BaseHandler:
|
|||
try:
|
||||
dot = middleware_path.rindex('.')
|
||||
except ValueError:
|
||||
raise exceptions.ImproperlyConfigured, '%s isn\'t look like a middleware module' % middleware_path
|
||||
raise exceptions.ImproperlyConfigured, '%s isn\'t a middleware module' % middleware_path
|
||||
mw_module, mw_classname = middleware_path[:dot], middleware_path[dot+1:]
|
||||
try:
|
||||
mod = __import__(mw_module, '', '', [''])
|
||||
|
|
Loading…
Reference in New Issue