#22891: Document that "collectstatic --clear" deletes all files in the storage
directory
--------------------------------------+------------------------------------
     Reporter:  nina@…                |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  1.6
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by allcaps):

 collectstatic --clear prints:

 {{{
 You have requested to collect static files at the destination
 location as specified in your settings:

     /Users/allcaps/path/to/project/static

 This will DELETE EXISTING FILES!
 Are you sure you want to do this?
 }}}

 The patch changes:

 {{{
 This will DELETE EXISTING FILES!
 Are you sure you want to do this?
 }}}

 into:

 {{{
 'This will DELETE ALL FILES in the STATIC_ROOT directory!'
 Are you sure you want to do this?
 }}}

 I'm not a fan of mentioning the unmanaged files.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22891#comment:4>
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/080.8962cf74c8bd21826af2bbfde7e8e93e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to