Driving me mad: Normal static files like css and images are served fine. User uploaded images do not show up at all, but when I upload them through my app they are saved within the appropriate directory on PA.
When accessing the same URL though via browser it doesn't work. Tried to work with AWS S3 but configuring this was even worse.
Any pointers please????
settings.py
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = "/media/"
STATIC_ROOT = os.path.join(BASE_DIR, "static_cdn")
STATIC_URL = '/static/'
The Static files section under the Web tab is properly configured I believe:
URL
/static/
/media/
DIRECTORY
/home/dude1983/surfapp/src/static_cdn/
/home/dude1983/surfapp/src/media/
Collectstatic command works fine.