模板中的图标不显示-Bootstrap 4,Django(添加Amazon s3之后)

时间:2019-02-28 12:10:59

标签: django amazon-s3 bootstrap-4

将所有静态文件添加到Amazon S3之后,我的图标没有显示(如下图所示)。我使用购买的Frond Endu Bootstrap4,而且我个人没有在静态文件中添加更改。

为什么我的django应用程序不显示图标?任何帮助将不胜感激。 enter image description here

settings.py

AWS_S3_CUSTOM_DOMAIN = '%s.s3.amazonaws.com' % AWS_STORAGE_BUCKET_NAME
AWS_LOCATION = 'static'
STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
STATIC_URL = "https://%s/%s/" % (AWS_S3_CUSTOM_DOMAIN, AWS_LOCATION)

F12 Consol

enter image description here

0 个答案:

没有答案