#16161: If extra static files are added into STATIC_ROOT are transformed to
symlinks in the next run of ``collectstatic -l``
----------------------+-------------------------------------
 Reporter:  gnotaras  |          Owner:  nobody
     Type:  Bug       |         Status:  new
Milestone:            |      Component:  contrib.staticfiles
  Version:  1.3       |       Severity:  Normal
 Keywords:            |   Triage Stage:  Unreviewed
Has patch:  0         |  Easy pickings:  0
----------------------+-------------------------------------
 Here are the related settings:

 {{{
 MEDIA_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__),
 'media', '')).replace('\\','/')
 MEDIA_URL = '/media/'
 STATIC_ROOT = os.path.join(MEDIA_ROOT, 'site')
 STATIC_URL = MEDIA_URL + 'site/'
 ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
 STATICFILES_DIRS = ()
 STATICFILES_FINDERS = (
     'django.contrib.staticfiles.finders.FileSystemFinder',
     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
     'compressor.finders.CompressorFinder',
 )
 }}}

 How to re-produce:

 1. Run : {{{python manage.py collectstatic -l --noinput}}}
 1. Put some extra static files in STATIC_ROOT
 1. Re-run {{{python manage.py collectstatic -l --noinput}}}
 1. The extra files have been replaced by symlinks pointing to themselves.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16161>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to