Closed atodorov closed 1 year ago
Looks like I opened a similar issue to this one a little bit after you did.
My work around for this was to copy the files that break collectstatic
into my static directory and removing the comments that you mentioned. So you're right that removing them would solve the problem.
I'm happy to check a PR! But I'm not so sure about changing the code of a 3rd-party app since we'll run into this with future jquery-ui updates as well (but ok, a test case should warn us then).
I ran into this as well. I've pinned to 3.0.6 for now, while I decide what to do in my project.
FWIW I think this is a relatively well known and long standing issue in Django...without a good solution yet, either...see https://code.djangoproject.com/ticket/21080
merged with master. please give it a test and let me know if it works as expected (it works fine with my setup/tests).
Hi. The new version after the fix works fine, I just checked on my project. At the moment, unfortunately, the latest version (3.0.7) is broken, it would be nice to override it with this fix.
P.S. So far I'm using 3.0.6
Notice the extra double quotes in
grappelli/jquery/ui/"images/ui-icons_555555_256x240.png"
!I believe this comes from the comment placed at the top of
jquery-ui.css
, possibly a few other files: https://github.com/sehmaschine/django-grappelli/blob/master/grappelli/static/grappelli/jquery/ui/jquery-ui.css#L4C4-L4C4Few things:
1) It would be great if we can have a test job with
I may be able to contribute a pull request to that
2) Not sure how to fix the issue, probably the easiest way is to remove the offending lines from the jQuery source files.