mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +00:00
Fixed #4746 -- Allowed spaces around filter separator.
This commit is contained in:
@@ -486,7 +486,7 @@ constant_string = constant_string.replace("\n", "")
|
||||
filter_raw_string = r"""
|
||||
^(?P<constant>%(constant)s)|
|
||||
^(?P<var>[%(var_chars)s]+|%(num)s)|
|
||||
(?:%(filter_sep)s
|
||||
(?:\s*%(filter_sep)s\s*
|
||||
(?P<filter_name>\w+)
|
||||
(?:%(arg_sep)s
|
||||
(?:
|
||||
|
||||
Reference in New Issue
Block a user