Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#15080 closed (fixed)

collectstatic with fabric example should use -v0 to speed it up

Reported by: Harro Owned by: nobody
Component: Documentation Version: 1.3-beta
Severity: Keywords: staticfiles, collectstatic, fabric
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I found out that using collectstatic through fabric makes for a very slow process.
The reason is that collectstatic by default outputs all the files it's collecting, which fabric has to pipe, which makes it very slow.

The fix is simple: pass a -v0
Also a --noinput should be added because fabric doesn't support the interactivity till 1.0 is released.

I think the documentation should reflect this

Attachments (2)

15080.diff (474 bytes) - added by Harro 6 years ago.
Added the -v0 and --noinput to the example
15080.2.diff (475 bytes) - added by Harro 6 years ago.
Forgot a space

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Harro

Attachment: 15080.diff added

Added the -v0 and --noinput to the example

Changed 6 years ago by Harro

Attachment: 15080.2.diff added

Forgot a space

comment:1 Changed 6 years ago by Harro

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 6 years ago by Russell Keith-Magee

Component: Contrib appsDocumentation
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 6 years ago by Tim Graham

Resolution: fixed
Status: newclosed

(In [15229]) Fixed #15080 - Add -v0 to collectstatic fabric example. Thanks hvdklauw.

comment:4 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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