#34813: Docs miss note about invalid integrity with ManifestStaticFilesStorage
--------------------------------------+------------------------------------
     Reporter:  Patrick Rauscher      |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  contrib.staticfiles   |                  Version:  4.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Patrick Rauscher):

 * has_patch:  0 => 1


Comment:

 Thanks for accepting! I drafted a PR at
 https://github.com/django/django/pull/17227

 I was insourcing jquery & bootstrap as our application moved to a closed
 network. So I thought it would be a simple download of resources and
 shipping them using {% static %}. This works until production with
 DEBUG=False, where ManifestStaticFileStorage would change jQuery to match
 the source map. As I did not remove the integity-attribute, loading
 failed. While I was searching for the error message, I could not find a
 hint to this behavior, so I thought about adding a note in the reference.

 Replying to [comment:1 Natalia Bidart]:
 > Hello! Thank you for your ticket.
 >
 > I'm tentatively accepting though I would really appreciate if you could
 provide a reproducer or a concrete example so I try to reproduce the
 ticket description.
 >
 > In the meantime, you are welcome to propose a PR with the doc changes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34813#comment:2>
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/0107018a61e72aa2-261ff10e-5b25-46c7-b0bf-ecb4c71d3bec-000000%40eu-central-1.amazonses.com.

Reply via email to