summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2009-03-31 16:09:22 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2009-03-31 16:09:22 +0000
commitb3b541b68ea83164aee967539e4aa44cbdb88b6e (patch)
tree296adca75631142a662a8ed8f11b7bc40e18146d /django/core
parentf6524d9c1ff89b0d5d4387e0c2abdaff9a7c2995 (diff)
[1.0.X]: Fixed #10553 -- Corrected several uses of `URLconf` in documentation and comments, according to the Django style guide. Based on patch from rduffield.
Backport of r10256 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core')
-rw-r--r--django/core/urlresolvers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py
index c61cdde65a..c8642e738f 100644
--- a/django/core/urlresolvers.py
+++ b/django/core/urlresolvers.py
@@ -23,7 +23,7 @@ except NameError:
from django.utils.itercompat import reversed # Python 2.3 fallback
from sets import Set as set
-_resolver_cache = {} # Maps urlconf modules to RegexURLResolver instances.
+_resolver_cache = {} # Maps URLconf modules to RegexURLResolver instances.
_callable_cache = {} # Maps view and url pattern names to their view functions.
# SCRIPT_NAME prefixes for each thread are stored here. If there's no entry for
@@ -140,7 +140,7 @@ class RegexURLPattern(object):
class RegexURLResolver(object):
def __init__(self, regex, urlconf_name, default_kwargs=None):
# regex is a string representing a regular expression.
- # urlconf_name is a string representing the module containing urlconfs.
+ # urlconf_name is a string representing the module containing URLconfs.
self.regex = re.compile(regex, re.UNICODE)
self.urlconf_name = urlconf_name
self.callback = None