#27854: Make `collectstatic` warn (rather than blow up) on missing directories
-------------------------------------+-------------------------------------
Reporter: David Evans | Owner:
Type: | maheshjurel
Cleanup/optimization | Status: assigned
Component: contrib.staticfiles | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by maheshjurel):
Changes have been made to show warning (without stopping execution) if any
of the static files directory does not exists. Earlier the situation was
that if we have more than one directory paths in `STATICFILES_DIRS` and
if the first one is missing then it wouldn't process the next directory
and fails giving the exception logs.
But now, with the current changes it will show a message in the format
that `"Path [<missing_dir_path>] does not exists. Skipping..."` and also
process all the directories (next ones) as expected.
A pull request has been created
[https://github.com/django/django/pull/8137]
--
Ticket URL: <https://code.djangoproject.com/ticket/27854#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.bb2129f7806b3d1c384af5d3ba16ddca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.