#33253: Collectstatic fails when using ManifestStaticFilesStorage and specific
Javascript file
-------------------------------------+-------------------------------------
Reporter: Hervé Le Roy | Owner: nobody
Type: Bug | Status: new
Component: contrib.staticfiles | Version: 4.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
ManifestStaticFilesStorage |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Keryn Knight):
* stage: Unreviewed => Accepted
Comment:
Tentatively marking as accepted, and indeed relates to ESM support via
ticket #32319 (commit 91e21836f667c784a8a63ab1f18d81f553e679cb)
Looks like it's this regex:
{{{
r"""(?P<matched>import\s+(?s:(?P<imports>.*?))\s*from\s*["'](?P<url>.*?)["'])"""
}}}
which is being used like so:
{{{
(Pdb) matchobj
<re.Match object; span=(15745, 125465), match='import from
as",c:[e.ASM,e.QSM]},{cN:"class",bK:">
(Pdb) matchobj.groupdict().keys()
dict_keys(['matched', 'imports', 'url'])
(Pdb) len(matches['matched'])
109720
(Pdb) matches['url']
',constant:'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33253#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.9ba4559adaf9a37c33c89fb2df32a5c9%40djangoproject.com.