Versions
Python 3.4.5
settings.py:
STATIC_URL = '/static/'
STATIC_ROOT = '/srv/myproject_static/'
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
Issue:
When I run collectstatic some (not all) files will be post-processed even though they are unchanged. Not sure if this is a bug or expected behaviour.
Example:
user> $ manage.py collectstatic --noinput
Post-processed 'admin/css/dashboard.css' as 'admin/css/dashboard.4898e2e9983d.css'
Post-processed 'admin/css/fonts.css' as 'admin/css/fonts.cc6140298ba7.css'
Post-processed 'admin/css/base.css' as 'admin/css/base.ba3dc2f88fc5.css'
Post-processed 'admin/css/login.css' as 'admin/css/login.a846c0e2ef65.css'
Post-processed 'admin/css/changelists.css' as 'admin/css/changelists.b1b060f73d37.css'
Post-processed 'admin/css/rtl.css' as 'admin/css/rtl.e024aaf6df25.css'
Post-processed 'admin/css/forms.css' as 'admin/css/forms.70b858e61281.css'
Post-processed 'admin/css/widgets.css' as 'admin/css/widgets.a7251c097987.css'
Post-processed 'debug_toolbar/css/print.css' as 'debug_toolbar/css/print.85b39f60bfe8.css'
Post-processed 'debug_toolbar/css/toolbar.css' as 'debug_toolbar/css/toolbar.705f69e5cc65.css'
Post-processed 'custom.css' as 'custom.96d7e992b843.css'
0 static files copied to '/srv/myproject_static', 90 unmodified, 11 post-processed.
user> $ manage.py collectstatic --noinput
Post-processed 'admin/css/dashboard.css' as 'admin/css/dashboard.4898e2e9983d.css'
Post-processed 'admin/css/fonts.css' as 'admin/css/fonts.cc6140298ba7.css'
Post-processed 'admin/css/base.css' as 'admin/css/base.ba3dc2f88fc5.css'
Post-processed 'admin/css/login.css' as 'admin/css/login.a846c0e2ef65.css'
Post-processed 'admin/css/changelists.css' as 'admin/css/changelists.b1b060f73d37.css'
Post-processed 'admin/css/rtl.css' as 'admin/css/rtl.e024aaf6df25.css'
Post-processed 'admin/css/forms.css' as 'admin/css/forms.70b858e61281.css'
Post-processed 'admin/css/widgets.css' as 'admin/css/widgets.a7251c097987.css'
Post-processed 'debug_toolbar/css/print.css' as 'debug_toolbar/css/print.85b39f60bfe8.css'
Post-processed 'debug_toolbar/css/toolbar.css' as 'debug_toolbar/css/toolbar.705f69e5cc65.css'
Post-processed 'custom.css' as 'custom.96d7e992b843.css'
0 static files copied to '/srv/myproject_static', 90 unmodified, 11 post-processed.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/558eb0c6-171a-4bd9-820e-511a6251bf5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment