-
Followed the instructions at https://help.pythonanywhere.com/pages/DjangoStaticFiles/,
-
STATIC_ROOT = "/home/mbak000/hioa_site/static"
, -
on web tab, URL:
/static/
AND directory:/home/mbak000/hioa_site
, -
In template,
{% load static %} AND <img src = "{% static '/logoflame.jpg' %}">
, -
ran
python manage.py collectstatic
- got this error: ImproperlyConfigured: You're using the staticfiles app without having set the requiredSTATIC_URL
setting, -
tried to load web page and got this 500 error:
Not Found: /static/logoflame.jpg