#16161: If extra static files are added into STATIC_ROOT, they are transformed 
to
symlinks in the next run of ``collectstatic -l``
------------------------------------+-------------------------------------
               Reporter:  gnotaras  |          Owner:  aaugustin
                   Type:  Bug       |         Status:  new
              Milestone:            |      Component:  contrib.staticfiles
                Version:  1.3       |       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 jezdez):

 Another item for the TODO list Jacob mentioned on IRC:

 - change the collectstatic warning message to say something like "This
 will overwrite existing files in /home/jacob/myproj/static - are you
 sure"? (i.e. actually show STATIC_ROOT there)

 Since collectstatic uses the storage backend specified as
 `STATICFILES_STORAGE`, `STATIC_ROOT` might not be used at all. In that
 case checking if the storage backend is an instance of `FileSystemStorage`
 does the trick. IOW, only show STATIC_ROOT if there is a good chance that
 the storage actually uses it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16161#comment:20>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to