Hi list, 

In my app, I've configured STATICFILES_STORAGE 
to 'storages.backends.s3boto3.S3Boto3Storage'. The S3 storage I use is a 
custom instance, requiring v2-signed requests. 

What I've noticed now, is that static files base.css and forms.css get 
loaded nicely (using a S3v2-signed request). However, forms.css then 
imports further css files (fonts.css and widgets.css) and a svg file 
(icon-addlink.svg), which cannot be loaded. The reason being that 
css-imports in forms.css use the url(...) function, which does not sign 
requests, which in turn results in a 400-Bad request from my S3 storage. 

Has anyone else seen this behaviour? How did you handle it (knowing that I 
don't have enough privileges to change the S3-storage behaviour)? 
Is this even a bug with the CSS-url function not going through the 
STATICFILES_STORAGE backend?

Thanks for your advice, 
-Manuel

-- 
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+unsubscr...@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/0455e929-eef4-436b-a190-f3c22257008e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to