With Django 1.11 files get post-processed multiple times
See original GitHub issueOn Django 1.11 I see pipeline post-process the same file to the same hashed version multiple times and in the end I have 2 different files e.g.
media/admin.min.70004aec9612.css
media/admin.min.3719a5a090af.css
That does not happen on Django <1.10
example snippet of a my config:
'admin_min_css': {
'source_filenames': (
'js/libs/chosen/chosen.css',
),
'output_filename': 'admin.min.css',
},
Anyone else experiencing that? Possibly related to the introduction of storage.ManifestStaticFilesStorage.max_post_process_passes in 1.11
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
HashedFilesMixin's post_process() yields multiple times for ...
I created a new Django 1.11 project with the admin app enabled. It tries to collect all the admin app files, and during...
Read more >HashedFilesMixin's post_process() yields multiple times for ...
collectstatic files process. I created a new Django 1.11 project with the admin app enabled. It tries to collect all the admin app...
Read more >Django 1.11 Form multiple data submit in one execute
I have a form called shift. here my forms.py class ShiftForm(forms.ModelForm): class Meta: model = Shift fields = '__all__'.
Read more >Release 4.10 David Cortesi - PyInstaller Documentation
PyInstaller requires two Python modules in a Windows system. ... In order to locate included files at run time, your program needs to...
Read more >(optional) Exporting a Model from PyTorch to ONNX and ...
You can get binary builds of ONNX and ONNX Runtime with pip install onnx onnxruntime . Note that ONNX Runtime is compatible with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I confirm this error with Django 1.11.10. I see pipeline post-process the same file multiple times.
after a while, this error comes up:
I use S3BotoStorage.
When using S3 if query-string authentication is enabled, you can end up in a situation where CSS files contain URLs with query-string parameters such as
AWSAccessKeyId=...&Signature=...=&Expires=...
– and each time each file is hashed, these can change, creating an endless loop of differing hashes. TuringAWS_QUERYSTRING_AUTH
off might help.