Hey all,
Hoping everyone's staying healthy and safe.
I have just included a new app ('auctions') into my existing Django project, hosted on PythonAnywhere.
The static files are working for every other app in my project, but just not for this new one.
I get a 404 in my error log for my styles.css file for the auctions app!: 2021-01-08 14:15:31,398: Not Found: /static/auctions/styles.css
Here is the access log: <IP> - ellis [08/Jan/2021:14:15:28 +0000] "GET /static/auctions/styles.css HTTP/1.1" 404 179
If I try one of my other apps (e.g. 'fashion'), the styles.css file is found: <IP> - ellis [08/Jan/2021:14:20:05 +0000] "GET /static/fashion/styles.css HTTP/1.1" 200 241
I'm a bit lost. I can confirm that there is a styles.css file included in /static/auctions/, just like there is one included in /static/fashion/ that IS found.
Why is it 404'ing?!
So far I have tried deleting the /static/auctions/ directory and re-calling collectstatic, then reloading the webapp.
Any help would be greatly appreciated. Just confused because the other apps seem the same... but are working :)
Thanks! pic of files