Ticket #13193: reverse_ignore_kwargs.3.diff
File reverse_ignore_kwargs.3.diff, 625 bytes (added by , 15 years ago) |
---|
-
django/core/urlresolvers.py
index 3bb2c1c..89c2618 100644
a b class RegexURLResolver(object): 283 283 unicode_args = [force_unicode(val) for val in args] 284 284 candidate = result % dict(zip(params, unicode_args)) 285 285 else: 286 if set(kwargs.keys()) !=set(params):286 if set(kwargs.keys()) < set(params): 287 287 continue 288 288 unicode_kwargs = dict([(k, force_unicode(v)) for (k, v) in kwargs.items()]) 289 289 candidate = result % unicode_kwargs