I have a Django (Wagtail CMS) website deployed using Apache WSGI. For some reason, the static files linked in the page source code is wrong. For example, the page's styling doesn't work because the page's HTML comes up as:
<link rel="stylesheet" type="text/css" href="/static/css/styles.d0720c096b01.css">
The link /static/css/styles.d0720c096b01.css
leads to a 404, but if I browse to /static/css/styles.css
I can see my stylesheets.
The random string d0720c096b01
is being added to all the static files. How do I fix this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…