#36968: Provide better error messages when collectstatic can't find a file
referenced in another file
------------------------+------------------------------------------------
     Reporter:  blighj  |                     Type:  Cleanup/optimization
       Status:  new     |                Component:  contrib.staticfiles
      Version:  6.0     |                 Severity:  Normal
     Keywords:          |             Triage Stage:  Unreviewed
    Has patch:  0       |      Needs documentation:  0
  Needs tests:  0       |  Patch needs improvement:  0
Easy pickings:  0       |                    UI/UX:  0
------------------------+------------------------------------------------
 At present when `ManifestStaticFilesStorage` finds a reference within a
 file to another file that does not exist in the static files. It throws an
 error that causes confusion. For example
 https://code.djangoproject.com/ticket/21080#comment:43
 Whilenoise has already got a nice pattern to provide a clearer reason to
 the user so they can fix the issue easily.

     The {ext} file '{filename}' references a file which could not be
 found:
     {missing}
     Please check the URL references in this {ext} file, particularly any
     relative paths which might be pointing to the wrong location.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36968>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019cbabe9d16-c300fb1c-f629-4dd7-b0b8-a192b2fe7496-000000%40eu-central-1.amazonses.com.

Reply via email to