Opened 8 years ago

Closed 8 years ago

#27108 closed Cleanup/optimization (fixed)

Remove collectstatic warning about overwriting existing files when STATIC_ROOT directory doesn't exist

Reported by: Curtis Doty Owned by: François Freitag
Component: contrib.staticfiles Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

./manage.py collectstatic prompts for user input to confirm overwriting the destination files...even when the static directory doesn't even exist! That's silly. Just create them in this case...without warning about "existing" files that actually don't exist.

Change History (5)

comment:1 by Tim Graham, 8 years ago

Description: modified (diff)
Summary: collectstatic lies when destination doesn't existRemove collectstatic warning about overwriting existing files when STATIC_ROOT directory doesn't exist
Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

Seems reasonable.

comment:2 by François Freitag, 8 years ago

Has patch: set
Owner: changed from nobody to François Freitag
Status: newassigned

comment:3 by Tim Graham, 8 years ago

Patch needs improvement: set

comment:4 by François Freitag, 8 years ago

Patch needs improvement: unset

comment:5 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 8c054ed:

Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if some files exist in STATIC_ROOT.

Note: See TracTickets for help on using tickets.
Back to Top