Forums

static files bad pointing

I have an static directory like this:

static --- css --- app1 --- a.css, b.css, etc...

static --- css --- app2 --- .......

static --- images --- app1 --- folder1 --- c.png, d.png, etc...

etc...

Everything works but static/css/app1/a.css which is pointing one image and this image which is pointing static/css/app1/a.css. I mean, if I type project.pythonanywhere.com/static/css/app1/a.css the image c.png appears and if i type project.pythonanywhere.com/static/images/app1/folder1/c.png, a.css appears.

In settings.py STATIC_ROOT = "/home/user/project/static" STATIC_URL = '/static/'

In Web>static files URL: /static/ PATH: /home/user/project/static

All the other paths are pointing their corresponding file, I do not know what is going on :/

Wow, I have open the website using other computer and it is working properly.

You probably had old css that wasn't working cached in the browser.