Hi,
I am new to django and I managed to go through all the processes to setup my existing django project from local > github > pythonanywhere. Unfortunately, my static files that I have defined in STATICFILES_DIRS of the settings.py are not loaded in PythonAnywhere but it's working perfectly on my local machine.
I am getting error 404 for all these static files that should be displayed on the UI. The following are the static file configurations in the setting.py that I have done:
STATIC_ROOT = None
STATIC_URL = '/static/'
STATICFILES_DIRS = (
('assets', '/home/wellplanforme/plantrip/WellPlanForMe/static'),
)
I also define the path in the Web tab.
The error that I am getting is the following: GET /static/assets/images/world_1.jpg HTTP/1.1" 404 1110
Same issue for admin static: /static/admin/css/base.css HTTP/1.1" 404 1107
Any advice on solving this issue?
Regards, Szelee