mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Fixed #36348 -- Fixed handling multiple nested url()s in ManifestStaticFilesStorage.
Signed-off-by: Samuel Cormier-Iijima <samuel@cormier-iijima.com>
This commit is contained in:
committed by
Sarah Boyce
parent
994dc6d8a1
commit
1ba5fe19ca
@@ -80,7 +80,8 @@ class HashedFilesMixin:
|
||||
(
|
||||
"*.css",
|
||||
(
|
||||
r"""(?P<matched>url\(['"]{0,1}\s*(?P<url>.*?)["']{0,1}\))""",
|
||||
r"""(?P<matched>url\((?P<quote>['"]{0,1})"""
|
||||
r"""\s*(?P<url>.*?)(?P=quote)\))""",
|
||||
(
|
||||
r"""(?P<matched>@import\s*["']\s*(?P<url>.*?)["'])""",
|
||||
"""@import url("%(url)s")""",
|
||||
|
||||
Reference in New Issue
Block a user