In Django 3 I have this in my settings: MEDIA_URL = '/media/'
My MEDIA_ROOT echos out properly (/home/bradrice/source/repos/bb_backend/media ) and I have this in my urls:
if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
I am using a VersatileImageField and the image uploads to the proper media folder. However, I can't see the image in Admin and if I click the link it prepends the Url with the full MEDIA_ROOT instead of just the /media/ onto the display url.
What am I doing wrong.