There are workarounds related to making the static files bucket in S3
"public" but it seems like that doesn't necessarily meet all use cases.
see related issue in Django Storages project: https://github.com/jschneier
/django-storages/issues/734
Examples of urls in the admin base CSS that fail in private buckets:
https://github.com/django/django/blob/master/django/contrib/admin/static/admin/css/base.css#L5
https://github.com/django/django/blob/master/django/contrib/admin/static/admin/css/base.css#L641
--
Ticket URL: <https://code.djangoproject.com/ticket/31642>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Tim Graham):
I'm not sure what Django could do besides rendering the CSS files using
the template system to allow using the `{% static %}` tag for those
references? I tend to think that it's not worth imposing that performance
penalty on all Django sites.
--
Ticket URL: <https://code.djangoproject.com/ticket/31642#comment:1>
* status: new => closed
* type: Bug => Cleanup/optimization
* resolution: => wontfix
Comment:
I agree with Tim. You should be able to rewrite the CSS stylesheet if you
really need to serve them from a private bucket.
--
Ticket URL: <https://code.djangoproject.com/ticket/31642#comment:2>