diff options
Diffstat (limited to 'django/core/urlresolvers.py')
| -rw-r--r-- | django/core/urlresolvers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/urlresolvers.py b/django/core/urlresolvers.py index 91e999f802..a1661a2ecd 100644 --- a/django/core/urlresolvers.py +++ b/django/core/urlresolvers.py @@ -83,7 +83,7 @@ class MatchChecker(object): raise NoReverseMatch("Value %r didn't match regular expression %r" % (value, test_regex)) return str(value) # TODO: Unicode? -class RegexURLPattern: +class RegexURLPattern(object): def __init__(self, regex, callback, default_args=None): # regex is a string representing a regular expression. # callback is something like 'foo.views.news.stories.story_detail', |
