my webiste uses virtual environment and is loading on https://rhythm.pythonanywhere.com/ but static and media files are not loading. i have followed https://help.pythonanywhere.com/pages/DjangoStaticFiles/ instructions properly still am not able to figure out the problem.
settings.py
STATIC_ROOT = "/home/rhythm/portfolio_project/static"
STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, '/home/rhythm/portfolio_project/portfolio')]
MEDIA_ROOT = "/home/rhythm/portfolio_project/media"
MEDIA_URL = '/media/'
ran collectstatic afterwards
web tab settings for static and media:
URL Directory
static/ /home/rhythm/portfolio_project/static
media/ /home/rhythm/portfolio_project/media
reloaded the site as well but still not working. Awaiting for your kind response!