[Fixed]-Path to static file in Django – 404

1👍

This finally worked for me:

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'mysite/static')
👤mimic

0👍

Try to change it to:

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'mysite/')

Leave a comment