mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Fixed #3543 -- Be a bit more tolerant of spaces following the comma
argument separator in the "url" tag. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b3e0b59def
commit
aa1b182da3
@ -956,6 +956,7 @@ def url(parser, token):
|
||||
for arg in bits[2].split(','):
|
||||
if '=' in arg:
|
||||
k, v = arg.split('=', 1)
|
||||
k = k.strip()
|
||||
kwargs[k] = parser.compile_filter(v)
|
||||
else:
|
||||
args.append(parser.compile_filter(arg))
|
||||
|
Loading…
x
Reference in New Issue
Block a user